Categorygithub.com/leverwwz/go-substrate-crypto

# README

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".

# Packages

No description provided by the author
No description provided by the author
No description provided by the author