Versions in this module Expand all Collapse all v0 v0.44.4 Oct 27, 2021 Changes in this version + const Ed25519Type + const MultiType + const Secp256k1Type + const Sr25519Type + var Secp256k1 = secp256k1Algo + func ComputeMastersFromSeed(seed []byte) (secret [32]byte, chainCode [32]byte) + func DerivePrivateKeyForPath(privKeyBytes, chainCode [32]byte, path string) ([]byte, error) + type BIP44Params struct + Account uint32 + AddressIndex uint32 + Change bool + CoinType uint32 + Purpose uint32 + func CreateHDPath(coinType, account, index uint32) *BIP44Params + func NewFundraiserParams(account, coinType, addressIdx uint32) *BIP44Params + func NewParams(purpose, coinType, account uint32, change bool, addressIdx uint32) *BIP44Params + func NewParamsFromPath(path string) (*BIP44Params, error) + func (p BIP44Params) DerivationPath() []uint32 + func (p BIP44Params) String() string + type DeriveFn func(mnemonic string, bip39Passphrase, hdPath string) ([]byte, error) + type GenerateFn func(bz []byte) types.PrivKey + type PubKeyType string + type WalletGenerator interface + Derive func(mnemonic string, bip39Passphrase, hdPath string) ([]byte, error) + Generate func(bz []byte) types.PrivKey