Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idanya/evm-cli
EVM blockchains command line utility
https://github.com/idanya/evm-cli
blockchain ethereum evm smart-contracts
Last synced: about 2 months ago
JSON representation
EVM blockchains command line utility
- Host: GitHub
- URL: https://github.com/idanya/evm-cli
- Owner: idanya
- Created: 2023-07-09T18:37:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-25T13:18:10.000Z (over 1 year ago)
- Last Synced: 2024-06-21T15:44:01.837Z (7 months ago)
- Topics: blockchain, ethereum, evm, smart-contracts
- Language: Go
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Build](https://github.com/idanya/evm-cli/actions/workflows/go.yml/badge.svg?branch=main)
![release](https://img.shields.io/github/v/release/idanya/evm-cli)# evm-cli
A command line tool for inspecting Ethereum smart contracts, transactions and accounts.### Install
#### Homebrew
```
brew tap idanya/tools
brew install evm-cli
```
#### Go
```
go install github.com/idanya/evm-cli@latest
```### Usage
```
$ evm-cli --help
A CLI tool to interact with the EVM blockchains via JSON-RPCUsage:
evm-cli [flags]
evm-cli [command]Available Commands:
account Account related commands
completion Generate the autocompletion script for the specified shell
contract Contract related commands
help Help about any command
tx Transaction related commandsFlags:
-c, --chain-id uint Chain ID of the blockchain (default 1)
-h, --help help for evm-cli
--rpc-url string node RPC endpoint (overrides the chain ID)Use "evm-cli [command] --help" for more information about a command.
```### Account commands
```
nonce Get account nonce
```### Transactions commands
```
info Get transaction data by hash
receipt Get transaction receipt by hash
```### Contract commands
```
decode Decode contract call data
exec Run contract readonly method
func-list Get function list
opcode Get opcode
proxy Get proxy implementation address
```