0.0.6 • Published 12 months ago
@acuarica/evm-cli v0.0.6
EVM-cli
Install
Install using your package manager
yarn
yarn add --dev @acuarica/evm
npm
npm install --global @acuarica/evm
--help
$ evmjs --help
evmjs <cmd> <path|address>
Commands:
evmjs abi <path|address> Shows the ABI of the contract
evmjs dis <path> Disassemble the bytecode into Opcodes
evmjs cfg <path> Writes the cfg of the selected function in `dot` for
mat into standard output
evmjs decompile <path> Decompile
evmjs console <path> Console
evmjs config Outputs cache path used to store downloaded bytecode
Options:
--version Show version number [boolean]
-s, --selector Function signature, e.g., `balanceOf(address)` or selector has
h to choose a specific function [string]
--help Show help [boolean]
Examples:
evmjs abi 0x00000000000C2E074eC69A0dFb29 shows the ABI of the ENS registry co
97BA6C7d2e1e ntract
evmjs decompile 0x00000000000C2E074eC69A decompiles the ENS registry contract
0dFb2997BA6C7d2e1e
See https://docs.soliditylang.org/en/latest/abi-spec.html#abi-json for more info
rmation on the ABI specification.
At least one command must be specified