protofire / eth-cli

CLI swiss army knife for Ethereum developers
https://www.npmjs.com/package/eth-cli
MIT License
239 stars 40 forks source link

Add abi from etherscan #135

Open fvictorio opened 4 years ago

fvictorio commented 4 years ago

This issue is similar to #72, but probably easier. It would be something like:

eth abi:add https://etherscan.io/address/0xc59b0e4de5f1248c1140964e0ff287b192407e0c

And this should fetch and use the ABI.

This would also require a command to add a custom etherscan api key, something like:

eth config:etherscan <api-key>