Registry /
crypto / chainsafe-go-schnorrkel
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
schnorrkel
✓ github.com/ChainSafe/go-schnorrkel
Generates a keypair, signs a message, and verifies the signature.
package main
import (
"fmt"
"github.com/ChainSafe/go-schnorrkel"
)
func main() {
priv, pub, _ := schnorrkel.GenerateKeypair()
msg := []byte("hello")
sig, _ := schnorrkel.Sign(priv, msg)
fmt.Println(schnorrkel.Verify(pub, msg, sig)) // true
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.