Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
idanya committed Jul 11, 2023
1 parent 964d58d commit 0b6f068
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,38 @@
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-RPC
Usage:
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 commands
Flags:
-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.
```

### TODO
- [X] Detect minimal proxy by comparing on-chain bytecode to the minimal proxy template
- [ ] optimize concurrency when detecting proxy
- [ ] mock node responses for tests
- [ ] `inspect` command for complete analysis of a contract
- [ ] Extract dispatched logs (PUSH32 ?)

0 comments on commit 0b6f068

Please sign in to comment.