Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptySigningKeyName represents an error which indicates that the // provided signing key name is empty or unspecified. ErrEmptySigningKeyName = errors.Register(codespace, 1, "empty signing key name") // ErrNoSuchSigningKey represents an error signifying that the requested // signing key does not exist or could not be located. ErrNoSuchSigningKey = errors.Register(codespace, 2, "signing key does not exist") // ErrSigningKeyAddr is raised when there's a failure in retrieving the // associated address for the provided signing key. ErrSigningKeyAddr = errors.Register(codespace, 3, "failed to get address for signing key") )
Functions ¶
func KeyNameToAddr ¶
func KeyNameToAddr( keyName string, keyring cosmoskeyring.Keyring, ) (cosmostypes.AccAddress, error)
KeyNameToAddr attempts to retrieve the key with the given name from the given keyring and compute its address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.