wallet-standard-base 0.2.0

The base features required by wallet-standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{Byte32Array, StandardFeatures, WalletStandardIcon};

pub trait WalletAccount: StandardFeatures {
    fn address(&self) -> &str;

    fn public_key(&self) -> &Byte32Array;

    fn icon(&self) -> Option<WalletStandardIcon>;

    fn label(&self) -> Option<&str>;
}