-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update sdk to support contracts verification
- Loading branch information
Showing
7 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/content/docs/en/sdk/operation/contracts-verification.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
section: sdk | ||
title: "Upgrading Scroll SDK" | ||
lang: "en" | ||
permalink: "sdk/operation/contracts-verification" | ||
excerpt: "Learn more about verify smart contract scource code on blockchain explorer" | ||
--- | ||
|
||
import Steps from '../../../../../components/Steps/Steps.astro'; | ||
|
||
## Overview | ||
|
||
This guide documents how to verify the smart contract source code of your own Scroll SDK deployment on blockchain explorers. | ||
|
||
### Devnet deployment | ||
|
||
<Steps> | ||
1. Go to the `devnet` folder of `scroll-sdk` repository | ||
2. Configurate `[contracts.verification]` section of your config.toml file as described [here](/en/sdk/technical-stack/configuration#contracts-verification) | ||
3. To start the verification process, run the following command: | ||
- `make verify` | ||
</Steps> | ||
|
||
### Production deployment | ||
|
||
<Steps> | ||
1. Go to the root directory of your local workspace repo | ||
2. Configurate `[contracts.verification]` section of your config.toml file as described [here](/en/sdk/technical-stack/configuration#contracts-verification) | ||
3. To start the verification process, run the following command: | ||
- `scrollsdk setup verify-contracts` | ||
</Steps> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters