-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update contract verification page for etherscan and mainnet #123
Conversation
✅ Deploy Preview for scroll-documentation ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
{/* <Aside type="danger" title="Warning"> | ||
Our Blockscout instance currently has inconsistent behavior in verifying contracts with Foundry. We're working on a | ||
fix, along with other stability improvements. Don't hesitate to come ask for help [on | ||
Discord](https://discord.com/channels/853955156100907018/1028102371894624337) though. | ||
</Aside> | ||
</Aside> */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we still want to include this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this updated! One nit and a few thoughts, but I'll try to get it live ASAP.
Most smart contract tooling has plugins for verifying your contracts easily on Etherscan. Blockscout supports Etherscan's contract verification APIs, and it's straightforward to use these tools with the Scroll Sepolia Testnet. | ||
Most smart contract tooling has plugins for verifying your contracts easily on Etherscan. Blockscout supports Etherscan's contract verification APIs, so it's straightforward to use these tools using the APIs of either of these block explorers. | ||
|
||
| Network | Scroll Scroll | Sepolia | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Scroll | Scroll Sepolia"
--- | ||
|
||
import Aside from "../../../../components/Aside.astro" | ||
import ClickToZoom from "../../../../components/ClickToZoom.astro" | ||
import verify1 from "./_images/verify1.png" | ||
import CodeSample from "../../../../components/CodeSample/CodeSample.astro" | ||
|
||
After deploying your smart contracts, it's important to verify your code on [our block explorer](https://scrollscan.com/) or the [Sepolia block explorer](https://sepolia-blockscout.scroll.io). | ||
After deploying your smart contracts, it's important to verify your code on our block explorers. This can be done in an automated way using your developer tooling or the Web UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if "our" is right if we're not running Scrollscan and other blockexplorers might want visibility on this page.
"on a block explorer"
| Network | Scroll Scroll | Sepolia | | ||
| ---------- | -------------------------------- | ---------------------------------------- | | ||
| Scrollscan | https://api.scrollscan.com/api | https://api-sepolia.scrollscan.com/api | | ||
| Blockscout | https://blockscout.scroll.io/api | https://sepolia-blockscout.scroll.io/api | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we even want to emphasize Blockscout? For the most part we consider it an internal tool and don't want developers defaulting to using it for contract verification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, for now let's leave it.
{/* <Aside type="danger" title="Warning"> | ||
Our Blockscout instance currently has inconsistent behavior in verifying contracts with Foundry. We're working on a | ||
fix, along with other stability improvements. Don't hesitate to come ask for help [on | ||
Discord](https://discord.com/channels/853955156100907018/1028102371894624337) though. | ||
</Aside> | ||
</Aside> */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not.
Description
Add instructions for contract verification with Etherscan and mainnet