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/tools/dApp-development/common-tools/hardhat.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ contract Lock {
86
86
### Setting up the contract
87
87
88
88
- Go to `hardhat.config.js`
89
-
- Update the `hardhat-config` with matic-network-credentials
89
+
- Update the `hardhat-config` with polygon-amoy-credentials
90
90
- Create `.env` file in the root to store your private key
91
91
- 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)
-**RPC URL (dedicated endpoint):**<https://polygon-amoy.g.alchemy.com/v2/{your-api-key}>. You need a [free API key](https://docs.alchemy.com)
91
91
-**Chain ID:** 80002
92
-
-**Currency Symbol:**MATIC
92
+
-**Currency Symbol:**POL
93
93
-**Block explorer URL:**<https://amoy.polygonscan.com/>
94
94
95
95
- Go ahead and click **Save**
96
96
97
97
- Copy your wallet address from MetaMask by clicking over your account name
98
98
99
-
- Head over to [the faucet](https://faucet.polygon.technology/) and request test MATIC to pay for gas on the Polygon network. Select **Amoy** as the network and **MATIC Token** as the token in the faucet. You can also use the [Alchemy Amoy faucet](https://www.alchemy.com/faucets/polygon-amoy).
99
+
- Head over to [the faucet](https://faucet.polygon.technology/) and request test POL to pay for gas on the Polygon network. Select **Amoy** as the network and **POL Token** as the token in the faucet. You can also use the [Alchemy Amoy faucet](https://www.alchemy.com/faucets/polygon-amoy).
100
100
101
101
- Finally, to deploy to Amoy, refer to the instructions in the [Remix deployment](#remix-deployment) section below.
102
102
103
103
## Deploying to Polygon mainnet
104
104
105
-
After deploying on Amoy without any errors, you can deploy the smart contract on the Polygon mainnet. Remember this costs real $ in the form of MATIC tokens.
105
+
After deploying on Amoy without any errors, you can deploy the smart contract on the Polygon mainnet. Remember this costs real $ in the form of POL tokens.
106
106
107
107
1. Open your MetaMask wallet.
108
108
2. Click on the network dropdown menu (set to **Ethereum Mainnet** by default) and click on the **Add Network** button.
@@ -113,14 +113,14 @@ After deploying on Amoy without any errors, you can deploy the smart contract on
0 commit comments