Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 749 Bytes

README.md

File metadata and controls

52 lines (33 loc) · 749 Bytes

Alloy CLI Demo

build by:

Features

Available commands:

  • block: get block number
  • balance: get balance of address
  • transfer: transfer 100 wei ETH from sender to receiver

How to start ?

Install

cargo install alloycli

Global options

  • --mainnet Set network to mainnet [default: sepolia]

Commands

  • 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>