You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/develop/hardhat.md
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,14 @@ The sample project will ask you to install hardhat-waffle and hardhat-ethers.You
29
29
## **hardhat-config**
30
30
31
31
- Go to hardhat.config.js
32
-
- Update the hardhat-config with matic-network-credentials.
33
-
- create .env file in the root to store your private key
32
+
- Update the hardhat-config with matic-network-credentials
33
+
- Create .env file in the root to store your private key
34
+
- Add Polygonscan API key to .env file to verify the contract on Polygonscan. You can generate an API key by [creating an account](https://polygonscan.com/register)
@@ -83,7 +89,13 @@ Greeter deployed to: 0xfaFfCAD549BAA6110c5Cc03976d9383AcE90bdBE
83
89
84
90
You can check the deployment status here: https://mumbai.polygonscan.com/
85
91
92
+
## **Verifying contract on Polygonscan**
86
93
94
+
Run the following commands to quickly verify your contract on Polygonscan. This makes it easy for anyone to see the source code of your deployed contract.
> Remember to update your address to your own deployed contract address. When the command is successful, you will see your contract verified on Polygonscan!
0 commit comments