Skip to content

Commit 373524b

Browse files
committed
minor edits in verify-contract doc
1 parent 56df3cb commit 373524b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/zkEVM/verify-smart-contract.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Once a smart contract is deployed to zkEVM, it can be verified in various ways depending on the framework of deployment as well as the complexity of the contract. The aim here is to use examples to illustrate how you can manually verify a deployed smart contract.
32

43
Ensure that your wallet is connected while following this guide. We will use Metamask wallet throughout this tutorial.
@@ -27,21 +26,21 @@ After successfully compiling a smart contract, follow the next steps to verify y
2726

2827
#### Using Remix
2928

30-
In order to flatten the contract code with Remix, one needs to only right-click on the contract name and select **Flatten** option from the drop-down menu that appears. See the below figure for reference.
29+
In order to flatten the contract code with Remix, one needs to only right-click on the contract name and select **Flatten** option from the drop-down menu that appears. See the below figure for reference.
3130

32-
![Selecting the flatten code option](../img/zkEVM/flatten-code-remix.png)
31+
![Selecting the flatten code option](../img/zkEVM/flatten-code-remix.png)
3332

34-
After selecting **Flatten**, a new `.sol` file with the suffix `_flatten.sol` is automatically created. Copy the contents of the new `<Original-Name>_flatten.sol` file and paste into the `Enter the Solidity Contract` field in the explorer.
33+
After selecting **Flatten**, a new `.sol` file with the suffix `_flatten.sol` is automatically created. Copy the contents of the new `<Original-Name>_flatten.sol` file and paste into the `Enter the Solidity Contract` field in the explorer.
3534

3635
#### Using Foundry
3736

38-
In order to flatten the code using Foundry, the following command can be used:
37+
In order to flatten the code using Foundry, the following command can be used:
3938

40-
```bash
41-
forge flatten src/<Contract-Name> -o <Any-Name-For-Flattened-Code>.sol
42-
```
39+
```bash
40+
forge flatten src/<Contract-Name> -o <Any-Name-For-Flattened-Code>.sol
41+
```
4342

44-
With this command, the flattened code gets saved in the `<Any-Name-For-Flattened-Code>.sol` file. Copy the contents of the new `<Any-Name-For-Flattened-Code>.sol` file and paste into the `Enter the Solodity Contract` field in the [explorer](https://testnet-zkevm.polygonscan.com).
43+
With this command, the flattened code gets saved in the `<Any-Name-For-Flattened-Code>.sol` file. Copy the contents of the new `<Any-Name-For-Flattened-Code>.sol` file and paste into the `Enter the Solodity Contract` field in the [explorer](https://testnet-zkevm.polygonscan.com).
4544

4645
??? "Standard input JSON"
4746
Click **Next** after selecting the **via Standard Input JSON** option.

0 commit comments

Comments
 (0)