Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 349 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 349 Bytes

Optimized Schnorr verification contract

This repo contains a contract Schnorr.sol which verifies a Schnorr signature using only ecrecover and keccak256.

Total gas cost: 29743

How it works

See https://hackmd.io/@nZ-twauPRISEa6G9zg3XRw/SyjJzSLt9

Try it out

Compile:

npx hardhat compile

Test:

npx hardhat test