Skip to content

leverwwz/go-substrate-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-substrate-crypto

go sdk for palkdot ecology

usage

  1. add "github.com/leverwwz/go-substrate-crypto" into go.mod file

    go get github.com/leverwwz/go-substrate-crypto

  2. add a prefix for the target chain if the prefix not contained in the list.

    ss58.AddPrefix()

  3. generate the private.

  4. generate address against to the prefix of a chain.

  5. sign the message(note,three type of signing way available)

    ed25519.Sign sr25519.Sign ecdsa.Sign

for more details, please refer to testing files in "go-substrate-crypto/test".

About

go sdk for palkdot ecology

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages