Registry /
crypto / jfjun-go-substrate-crypto
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.
substratecrypto
✓ github.com/JFJun/go-substrate-crypto
Generates a Substrate key pair.
package main
import (
"fmt"
substratecrypto "github.com/JFJun/go-substrate-crypto"
)
func main() {
// Example: generate a key pair
pub, priv, err := substratecrypto.GenerateKeyPair()
if err != nil {
panic(err)
}
fmt.Printf("Public key: %x\n", pub)
fmt.Printf("Private key: %x\n", priv)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.