Sample code that uses a node.js to generate a digital signature and a smart contract to verify it. They keypair is generated everytime by the node.js script.
- Enter node.js folder and run
npm install
- Run
node singer.js
- Execure
Verifier.verify()
with the output parameters