Importing mainnet contracts
Import contracts that have been verified on Etherscan to easily use them on your mainnet fork
Last updated
Import contracts that have been verified on Etherscan to easily use them on your mainnet fork
Last updated
This feature will only work on workspaces connected to a mainnet fork
This feature lets you import mainnet contracts that have been verified on Etherscan, Polygonscan or Bscscan (depending on the chain set for the workspace). Once the contract has been imported, it will appear in your contracts list, you'll be able to see transactions sent to it on your fork, and to interact with all read & write methods.
To get started, go to the "Contracts" page, click on "Import Contract", enter the address, and click "Import". This will pull the name and the ABI from the explorer, and populate your contracts list.
Once this is done, go to the contract page, and from there you'll be able to see the list of transactions sent to this address on your fork, and, on the "Contract" tab, to interact with all the read & write methods.
The "Storage" tab is not available yet for this feature, if you need it, you'll have to redeploy the contract with Truffle or Hardhat
This feature is currently available for Ethereum, Polygon & BSC mainnet forks. If you'd like to request compatibility with other networks, please reach out to @antoinedc on Discord