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.07k stars 77 forks source link

Add an example env #78

Closed SonOfMosiah closed 10 months ago

SonOfMosiah commented 10 months ago

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

shazow commented 10 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 10 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