ethers-abirpc 0.3.0

ethers-rs provider encapsulation for ethereum smart contrcats
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use ethers_abirpc::prelude::*;

abigen!(Erc20Token, "./tests/abi/Erc20Token.json");
abirpc!(Erc20Token);

abigen!(Erc721Token, "./tests/abi/Erc721Token.json");
abirpc!(Erc721Token);

#[tokio::test]
async fn test_abirpc() -> Result<(), Box<dyn std::error::Error>> {
    Ok(())
}