ChainSafe / go-schnorrkel

🍵 Schnorr Signatures over Ristretto255 in pure Go
Apache License 2.0
93 stars 30 forks source link

Add a keypair type #51

Closed jimjbrettj closed 2 years ago

jimjbrettj commented 2 years ago

Created a keypair type that contains both a public and private key and a corresponding sign function. I can further refactor to utilize the keypair if need be (ie. have GenerateKeypair return a keypair)

closes #44

jimjbrettj commented 2 years ago

@noot Implemented VRF sign and verify for keypair type as well as a secretKey to KeyPair method, so this should be good to go. Let me know if you want anything else!

jimjbrettj commented 2 years ago

@EclesioMeloJunior updated!

jimjbrettj commented 2 years ago

@noot updated! Let me know if there's anything else to change