Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
idanya committed Jul 13, 2023
1 parent 3c3d305 commit 6359824
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,22 @@ Flags:
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
```
2 changes: 1 addition & 1 deletion clients/nodes/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ func NodeClientFactory(chainId uint, rpcUrl string) *EthereumNodeClient {
} else if rpc, ok := ChainRpc[chainId]; ok {
return NewEthereumNodeClient(rpc)
}
panic("rpcUrl is not provided")
panic("rpcUrl was not provided and chainId is not supported. Please provide a valid --rpc-url")
}

0 comments on commit 6359824

Please sign in to comment.