solana-trader 0.1.2

Implemented most of the commonly used practical transaction-related functions on the Solana network.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// solana network url
pub const SOLANA_DEV_NET_URL: &'static str = "https://api.devnet.solana.com";
pub const SOLANA_TEST_NET_URL: &'static str = "https://api.testnet.solana.com";
pub const SOLANA_OFFICIAL_MAIN_NET_URL: &'static str = "https://api.mainnet-beta.solana.com";
pub const SOLANA_SERUM_MAIN_NET_URL: &'static str = "https://solana-api.projectserum.com";
pub const SOLANA_ANKR_MAIN_NET_URL: &'static str = "https://rpc.ankr.com/solana";


/// common address
pub const SOL: &'static str = "So11111111111111111111111111111111111111112";
pub const USDC: &'static str = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
pub const USDT: &'static str = "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB";
pub const RAY: &'static str = "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R";