shazow / whatsabi

Extract the ABI (and resolve proxies, and get other metadata) from Ethereum bytecode, even without source code.
https://shazow.github.io/whatsabi/
MIT License
1.04k stars 71 forks source link

Add an example env #78

Closed SonOfMosiah closed 8 months ago

SonOfMosiah commented 8 months ago

Would be helpful to have an example env file for running the tests during development.

shazow commented 8 months ago

Good call, where's the best place to put it? .env.example?

Should be something like

export INFURA_API_KEY="..."
export ETHERSCAN_API_KEY="..."
export PROVIDER="ethers"  # or "viem"
SonOfMosiah commented 8 months ago

Yep. A .env.example would be good. You can add a small change to the Readme under the Development header that says to get started cp .env.example .env