build by:
Available commands:
block
: get block numberbalance
: get balance of addresstransfer
: transfer 100 wei ETH from sender to receiver
cargo install alloycli
--mainnet
Set network to mainnet [default: sepolia]
- Check all commands
alloycli --help
- Get block number (mainnet)
alloycli --mainnet block
- Get balance
alloycli balance <YOUR ADDRESS e.g. 0x056703bb4E0866909E1767D9b079237D1C44962f>
- Transfer 100 wei ETH
alloycli transfer <SENDER PRIVATEKEY> <RECEIVER ADDRESS>