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/remix.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This tutorial guides you to implement a Hello World dApp which echoes a message
11
11
- Create a file on Remix.
12
12
- Upload a pre-built smart contract into the IDE.
13
13
- Compile the smart contract.
14
-
- Connect the application to the Polygon Mumbai Testnet via Metamask.
14
+
- Connect the application to the Polygon Amoy testnet via MetaMask.
15
15
- Deploy the smart contract.
16
16
- Verify the smart contract.
17
17
@@ -71,39 +71,41 @@ The `update` function is another public function that is similar to the constr
71
71
72
72
- After successful compilation, it will show a green tick mark on the **Compiler** tab button
73
73
74
-
## Deploying to the Mumbai testnet
74
+
## Deploying to the Amoy testnet
75
75
76
-
Now, we have to deploy our smart contract on Mumbai, Polygon Network's Testnet. Not only does it cost money (e.g., gas fees) to deploy a smart contract on Polygon Mainnet, but also, the contract is immutable and can't be changed once deployed. Therefore, it's best to first deploy your smart contract to the Testnet first.
76
+
Now, we have to deploy our smart contract on Amoy, the Polygon testnet. Not only does it cost money (e.g., gas fees) to deploy a smart contract on Polygon mainnet, but the contract is immutable and can't be changed once deployed. Therefore, it's best to deploy your smart contract to the testnet first.
77
77
78
-
To deploy to the Mumbai testnet, we have to connect to the Web3 world which can be accomplished by using any of the services like Metamask, Brave, Portis, etc. We will be using MetaMask in this tutorial. Please follow this [guide to set up a MetaMask Account](../../wallets/metamask/index.md).
78
+
To deploy to the Amoy testnet, we have to connect to the web3 with a service like MetaMask, Brave, Portis, etc. We use MetaMask in this tutorial. Please follow this [guide to set up a MetaMask account](../../wallets/metamask/index.md).
79
79
80
80
- Open Metamask. Click on the network dropdown menu (set to **Ethereum Mainnet** by default) and click on the **Add Network** button. MaticVigil provides a public endpoint and is rate-limited. Therefore, most developers use a free blockchain provider like [Alchemy](https://docs.alchemy.com/docs/how-to-add-polygon-to-metamask) or [Quicknode](https://www.quicknode.com/guides/smart-contract-development/how-to-deploy-a-smart-contract-on-maticpolygon#setting-up-metamask-with-polygon-node) to have a dedicated RPC endpoint with faster throughput AKA computing units per second (CUPs). You need to create a free account to get your private API key from one of these providers to put into the dedicated RPC endpoint URL below.
-**RPC URL (dedicated endpoint):**<https://polygon-amoy.g.alchemy.com/v2/{your-api-key}>. You need a [free API key](https://docs.alchemy.com)
85
+
-**Chain ID:**80002
86
86
-**Currency Symbol:** MATIC
87
-
-**Block Explorer URL:**<https://mumbai.polygonscan.com/>
87
+
-**Block explorer URL:**<https://amoy.polygonscan.com/>
88
88
89
89
- Go ahead and click **Save**
90
90
91
91
- Copy your wallet address from MetaMask by clicking over your account name
92
92
93
-
- Head over to [Faucet](https://faucet.polygon.technology/) and request test MATIC - you will need this to pay for gas on the Polygon network. Select **Mumbai** as the network and **MATIC Token** as the token in the faucet. You can also use this free [Mumbai faucet](https://mumbaifaucet.com)
93
+
- 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).
94
94
95
-
- Finally, to deploy to Mumbai, refer to the instructions in the "Remix deployment" section below
95
+
- Finally, to deploy to Amoy, refer to the instructions in the [Remix deployment](#remix-deployment) section below.
96
96
97
97
## Deploying to Polygon mainnet
98
98
99
-
After you can deploy on the Mumbai Testnet without any errors (i.e., the purpose of the Testnet), let's deploy the Smart Contract on the Polygon Mainnet. Remember this will cost real $ in the form of MATIC tokens.
99
+
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.
100
100
101
-
Similar to the steps above when you deployed to Mumbai, you open your MetaMask wallet. Click on the network dropdown menu (set to **Ethereum Mainnet** by default) and click on the **Add Network** button. Make sure to have your [Alchemy API key](https://docs.alchemy.com/docs/alchemy-quickstart-guide).
101
+
1. Open your MetaMask wallet.
102
+
2. Click on the network dropdown menu (set to **Ethereum Mainnet** by default) and click on the **Add Network** button.
103
+
3. Make sure to have your [Alchemy API key](https://docs.alchemy.com/docs/alchemy-quickstart-guide) to hand.
Congratulations! You have successfully deployed the HelloWorld smart contract to the Polygon Mumbai Testnet. You can start interacting with your smart contract. Check the deployment status at <https://mumbai.polygonscan.com/>.
135
+
Congratulations! You have successfully deployed the HelloWorld smart contract to the Polygon Amoy testnet. You can now start interacting with your smart contract. Check the deployment status at <https://amoy.polygonscan.com/>.
Copy file name to clipboardExpand all lines: docs/tools/dApp-development/common-tools/replit.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This article guides you to build and deploy a solidity smart contract on Polygon
8
8
9
9
- Create a Replit account.
10
10
- Create a Repl environment.
11
-
- Deploy a sample project on the Polygon Mumbai network.
11
+
- Deploy a sample project on the Polygon Amoy network.
12
12
- Verify the contract.
13
13
- Publish your project to a personal Replit profile.
14
14
@@ -20,7 +20,7 @@ This article guides you to build and deploy a solidity smart contract on Polygon
20
20
21
21
You do not need any local environment setup to deploy your solidity smart contract on Polygon using Replit.
22
22
23
-
You need a browser-based Web3 wallet to interact with the Polygon Mumbai Testnet and deployed contracts. If you are already using MetaMask, it is recommended to create a new account for testing with Replit. You can do this from the account menu, which appears when you click on the account avatar in the top right corner of MetaMask interface.
23
+
You need a browser-based web3 wallet to interact with the Polygon Amoy testnet and deployed contracts. If you are already using MetaMask, we recommend creating a new account for testing with Replit. You can do this from the account menu, which appears when you click on the account avatar in the top right corner of the MetaMask interface.
24
24
25
25
You must set up all of the following prerequisites to be able to deploy your solidity smart contract on Polygon:
26
26
@@ -55,7 +55,7 @@ Make sure that you have followed the list of [prerequisites](#prerequisites) abo
55
55
56
56
1. Click on **Run** (at the top) to install all relevant packages and start up the contract deployment UI.
57
57
58
-
2. Connect your MetaMask wallet to the web interface and switch to the [Mumbai Testnet](../../wallets/metamask/add-polygon-network.md).
58
+
2. Connect your MetaMask wallet to the web interface and switch to the [Amoy testnet](../../wallets/metamask/add-polygon-network.md).
59
59
60
60

61
61
@@ -69,7 +69,7 @@ Make sure that you have followed the list of [prerequisites](#prerequisites) abo
69
69
70
70
## Verifying and testing your contract
71
71
72
-
When the contract is deployed, [navigate to Polyganscan](https://mumbai.polygonscan.com/) to search for your account, view your deployed contract, and copy your account address.
72
+
When the contract is deployed, [navigate to Polygonscan](https://amoy.polygonscan.com/) to search for your account, view your deployed contract, and copy your account address.
73
73
74
74
Once your contract has been deployed, it will show up as expandable boxes below the dropdown box. Expand it and take a look at all the different functions available. You can now interact with your contract using the provided user interface or from a sharable URL shown on the interface.
0 commit comments