ergo_node_interface/
lib.rs

1#![allow(clippy::ptr_arg)]
2
3#[macro_use]
4extern crate json;
5pub mod local_config;
6pub mod node_interface;
7mod requests;
8pub mod scanning;
9pub mod transactions;
10mod types;
11pub mod wallet;
12
13pub use local_config::*;
14pub use node_interface::NodeInterface;
15pub use types::*;
16
17/// A Base58 encoded String of a Ergo P2PK address.
18pub type P2PKAddressString = String;
19/// A JSON String
20pub type JsonString = String;
21/// A Base58 encoded String of a Ergo P2S address.
22pub type P2SAddressString = String;
23/// The smallest unit of the Erg currency.
24pub type NanoErg = u64;
25/// A block height of the chain.
26pub type BlockHeight = u64;
27/// Duration in number of blocks.
28pub type BlockDuration = u64;
29/// A Base58 encoded String of a Token ID.
30pub type TokenID = String;