Skip to content

moontography/web3ev

Repository files navigation

web3ev

CLI tool to fetch web3 EVM on-chain smart contract events. If the smart contract is verified on etherscan (or the chain-specific block explorer) you should just be able to provide the contract address and the tool will do the rest to get the ABI, but if it's not verified you might have to provide the JSON ABI string.

Features

  • Simple interface and minimal required parameters (contract address is only one)
  • Clean tabular output that provides block, tx hash, and all output values from the event
  • Proxy detection and support

Install

$ npm install -g web3ev
$ web3ev --help

Run

# Get all Transfer events from the block that WETH was created to 100,000 blocks later
$ web3ev -c 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 -e Transfer

Development

Install Dependencies

$ npm install

Build

$ npm run build

TODOs

  • Add more run examples above
  • Support Etherscan API key through option and fallback to env variable

About

CLI tool to quickly retrieve web3 EVM event data from smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published