chains-rs 0.1.1

Blockchain and asset definitions in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
pub type AssetType = &'static str;

pub const COIN: AssetType = "coin";
pub const TOKEN: AssetType = "token";

#[derive(Debug, Clone)]
pub struct Link {
    pub name: String,
    pub url: String,
}