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
14
use std::sync::Arc;

use solana_client::nonblocking::rpc_client::RpcClient;

pub struct Scan {
    client: Arc<RpcClient>,
}

impl Scan {
    /// create scan
    pub async fn new(client: Arc<RpcClient>) -> Self {
        Self { client: client }
    }
}