Documentation
¶
Index ¶
- func AddressByPublicKey(publicKey string) (string, error)
- func AddressToHex(address string) ([]byte, error)
- func BytesToAddress(address [20]byte) string
- func IsValidAddress(address string) bool
- func NewMnemonic() (string, error)
- func PrivateKeyBySeed(seed []byte) (string, error)
- func PubPrefix04ToMp(key string) string
- func PublicKeyByPrivateKey(privateKey string) (string, error)
- func PublicKeyToHex(key string) ([]byte, error)
- func Seed(mnemonic string) ([]byte, error)
- type Data
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressByPublicKey ¶
Get Minter address from public key.
func AddressToHex ¶ added in v1.0.4
func BytesToAddress ¶ added in v1.0.0
func IsValidAddress ¶ added in v1.0.4
func PrivateKeyBySeed ¶
Get private key from seed.
func PubPrefix04ToMp ¶ added in v0.2.7
func PublicKeyByPrivateKey ¶
Get public key from private key.
func PublicKeyToHex ¶ added in v1.1.1
Types ¶
Click to show internal directories.
Click to hide internal directories.