Registry / crypto / vedhavyas-go-subkey

vedhavyas-go-subkey

JSON →
library1.0.4gogounverified

A Go library for working with Substrate (Polkadot) key pairs and SS58 addresses.

go get github.com/vedhavyas/go-subkey
INSTALL
IMPORT
SIG · VEDHAVYAS-GO-SUBKE
V
vedhavyas-go-subkey
cryptogov1.0.4
harness data pending
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.

subkey
✓ github.com/vedhavyas/go-subkey

Generates a SR25519 key pair and prints its SS58 address.

package main import ( "fmt" "github.com/vedhavyas/go-subkey" ) func main() { key, _ := subkey.GenerateKeyPair(subkey.SR25519) fmt.Println(key.SS58Address(42)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Resources
vedhavyas-go-subkey — go get vedhavyas-go-subkey · libregistry