Skip to content

Commit

Permalink
fix: nits
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Nov 17, 2023
1 parent 017ae81 commit 111ec76
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/content/docs/en/developers/verifying-smart-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ 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 explorers. This can be done in an automated way using your developer tooling or the Web UI.

{/* <Aside type="tip" title="Blockscout vs Etherscan">
The below instructions for verifying on our Sepolia Blockscout instance will need to be altered to work with Etherscan
deployments. As additional services come online for mainnet, we'll update these instructions.
</Aside> */}
After deploying your smart contracts, it's important to verify your code on a block explorer. This can be done in an automated way using your developer tooling or the Web UI.

## Using Developer Tools

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 |
| 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 |
Expand Down Expand Up @@ -112,12 +107,6 @@ forge verify-contract <contract address> <contract name> \

#### Blockscout

{/* <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> */}

Specify the verification provider as `blockscout`.

##### Scroll
Expand Down

0 comments on commit 111ec76

Please sign in to comment.