wallet-standard-base 0.1.1

The base features required by wallet-standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub trait Commitment {
    fn processed(&self) -> Self;

    fn confirmed(&self) -> Self;

    fn finalized(&self) -> Self;

    fn into(&self, commitment_str: &str) -> Self;

    /// Get the commitment as a [str] format
    fn as_str(&self) -> &str;
}