Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 439 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 439 Bytes

Noir circuit that verifies a PS256 signature over an Open Banking (currently only Revolut) payment JWT and extracts the sort code, currency code, and currency amount

Test circuit with Noir

  1. Simply run nargo test in the root directory

Run circuit from JS

  1. Compile circuit
cd ./scripts && ./compile.sh
  1. Navigate to JS directory
cd ../js/src
  1. Run JS code and view logged witness
node index.js