Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keyring ¶
type Keyring interface { // List returns the names of all keys stored in the keyring. List() ([]string, error) // LookupAddressByKeyName returns the address of the key with the given name. LookupAddressByKeyName(name string) ([]byte, error) // GetPubKey returns the public key of the key with the given name. GetPubKey(name string) (cryptotypes.PubKey, error) // Sign signs the given bytes with the key with the given name. Sign(name string, msg []byte, signMode signingv1beta1.SignMode) ([]byte, error) }
Keyring is an interface used for signing transactions. It aims to be simplistic and easy to use.
Click to show internal directories.
Click to hide internal directories.