alloycli

Crates.ioalloycli
lib.rsalloycli
version0.1.1
sourcesrc
created_at2024-07-17 15:25:17.967776
updated_at2024-07-17 15:40:56.520546
descriptionA CLI tool build by alloy
homepage
repositoryhttps://github.com/LI-YONG-QI/alloy_cli
max_upload_size
id1306274
size92,972
RainFox (LI-YONG-QI)

documentation

README

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>
Commit count: 0

cargo fmt