This repo contains a contract Schnorr.sol
which verifies a Schnorr signature using only ecrecover
and keccak256
.
Total gas cost: 29743
See https://hackmd.io/@nZ-twauPRISEa6G9zg3XRw/SyjJzSLt9
Compile:
npx hardhat compile
Test:
npx hardhat test