drt-sdk 0.0.3

SDK for interacting with the Dharitri blockchain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod gateway_account;
mod gateway_block;
mod gateway_network;
mod gateway_proxy;
mod gateway_tx;
mod gateway_tx_retrieve;

pub use gateway_proxy::GatewayProxy;

pub const MAINNET_GATEWAY: &str = "https://gateway.dharitri.com";
pub const TESTNET_GATEWAY: &str = "https://testnet-gateway.dharitri.com";
pub const DEVNET_GATEWAY: &str = "https://devnet-gateway.dharitri.com";

// MetachainShardId will be used to identify a shard ID as metachain
pub const METACHAIN_SHARD_ID: u32 = 0xFFFFFFFF;