ApeWorX / ape-etherscan

Etherscan explorer plugin using EVM-based networks for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
21 stars 25 forks source link

feat: Allow adding dependencies from Etherscan #114

Closed antazoey closed 5 months ago

antazoey commented 5 months ago

What I did

You can now use dependencies from Etherscan I needed this because I couldn't find some contracts anywhere else

fixes: #57

How I did it

How to verify it

dependencies:
  - name: Spork
    etherscan: "0xb624FdE1a972B1C89eC1dAD691442d5E8E891469"
    ecosystem: ethereum
    network: mainnet
from ape import project

spork_contract_type = project.dependencies["Spork"]["ethereum_mainnet"].Spork

Checklist