Skip to content

super cheap solidity schnorr sig verification using only ecrecover and keccak256

License

Notifications You must be signed in to change notification settings

noot/schnorr-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

super cheap solidity schnorr sig verification using only ecrecover and keccak256

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published