Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesSigner ¶
type EthermintKeyPair ¶
type EthermintKeyPair struct { Public cryptotypes.PubKey Private cryptotypes.PrivKey }
func NewEthermintKeyPairFromMnemonic ¶
func NewEthermintKeyPairFromMnemonic(mnemonic string) *EthermintKeyPair
Return a key pair derived from the given mnemonic with
func (*EthermintKeyPair) GetAddress ¶
func (e *EthermintKeyPair) GetAddress(prefix string) string
func (*EthermintKeyPair) GetPublicKey ¶
func (e *EthermintKeyPair) GetPublicKey() cryptotypes.PubKey
type KeyPair ¶
type KeyPair struct { Public cryptotypes.PubKey Private cryptotypes.PrivKey }
func NewCosmosKeyPairFromMnemonic ¶
NewCosmosKeyPairFromMnemonic returns a key pair derived from the given mnemonic, with coin type 118 (cosmos)
func NewKeyPairFromMnemonic ¶
Return a key pair derived from the given mnemonic with the given coin type
func (*KeyPair) GetAddress ¶
func (*KeyPair) GetPublicKey ¶
func (kp *KeyPair) GetPublicKey() cryptotypes.PubKey
Click to show internal directories.
Click to hide internal directories.