Skip to content

ethereumdegen/evm-token-tools-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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



About

A CLI tool for interacting with ERC20 tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages