deep_space 2.32.1

A highly portable, batteries included, transaction generation and key management library for CosmosSDK blockchains
Documentation
1
2
3
4
5
6
7
8
9
use crate::public_key::CosmosPublicKey;

/// Signed data that contains both the signature, and the public key
/// used to sign it.
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub struct Signature {
    pub signature: Vec<u8>,
    pub pub_key: CosmosPublicKey, // TODO: fix this, should be any private key or we need two sig types
}