Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethereumdegen/evm-token-tools-rs
A CLI tool for interacting with ERC20 tokens
https://github.com/ethereumdegen/evm-token-tools-rs
Last synced: 15 days ago
JSON representation
A CLI tool for interacting with ERC20 tokens
- Host: GitHub
- URL: https://github.com/ethereumdegen/evm-token-tools-rs
- Owner: ethereumdegen
- Created: 2024-05-03T15:55:34.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-05-03T16:15:07.000Z (7 months ago)
- Last Synced: 2024-10-11T06:24:39.860Z (about 1 month ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### EVM Token Tools [Rust]
1. install rustup
https://www.rust-lang.org/tools/install
2. add to .env
(see .env.template)
3. run these scripts
cargo run --bin SCRIPT_NAME
```
cargo run --bin erc20_approve -- --token-address 0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14 --approved-address 0x8DAE5766bC47376cc7c14cbAA0AeE511829F5dDe --amount 10000000000```
#### Sample .env file
```
RPC_URL="https://mainnet.g.alchemy.com/v2/xxxx"
PRIVATE_KEY="65xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd6"
CHAIN_ID=5
```