Documentation ¶
Index ¶
- func CreateHDPath(account uint32, index uint32) string
- func CreateMnemonic() (string, error)
- func DerivePrivKeyBz(mnemonic string, hdPath string) ([]byte, error)
- func PrivKeyGen(bz []byte) (types.PrivKey, error)
- func PrivKeyGenByMnemonic(mnemonic string, hdPath string) (rst types.PrivKey, err error)
- type PrivKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHDPath ¶
CreateHDPath returns BIP 44 object from account and index parameters.
func DerivePrivKeyBz ¶
DerivePrivKeyBz - derive private key bytes
func PrivKeyGen ¶
PrivKeyGen is the default PrivKeyGen function in the keybase. For now, it only supports Secp256k1
Types ¶
Click to show internal directories.
Click to hide internal directories.