Skip to content

LI-YONG-QI/alloycli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

Releases

No releases published

Packages

No packages published

Languages