Struct terra_rust_api::PublicKey [−][src]
Expand description
The public key we used to generate the cosmos/tendermind/terrad addresses
Fields
raw_pub_key: Option<Vec<u8>>
This is optional as we can generate non-pub keys without
raw_address: Option<Vec<u8>>
The raw bytes used to generate non-pub keys
Implementations
Generate a Cosmos/Tendermint/Terrad Public Key
Generate from secp256k1 Cosmos/Terrad Public Key
Generate a Cosmos/Tendermint/Terrad Account
build a public key from a tendermint public key
Generate a Operator address for this public key (used by the validator)
Generate Public key from raw address
Gets a bech32-words pubkey from a compressed bytes Secp256K1 public key.
@param publicKey raw public key
Gets a bech32-words pubkey from a compressed bytes Ed25519 public key.
@param publicKey raw public key
Translate from a BECH32 prefixed key to a standard public key
Gets a raw address from a compressed bytes public key.
@param publicKey raw public key
Gets a raw address from a ed25519 public key.
@param publicKey raw public key
The operator address used for validators
application public key - Application keys are associated with a public key terrapub- and an address terra-
The operator address used for validators public key.
This is a unique key used to sign block hashes. It is associated with a public key terravalconspub.
This is a unique key used to sign block hashes. It is associated with a public key terravalconspub.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more