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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This tutorial guides you to implement a Hello World dApp which echoes a message
19
19
20
20
Remix is a Ethereum-focused IDE: an online platform to develop and deploy smart contracts. To start building a smart contract, click on **New File** and name it `HelloWorld.sol`.
21
21
22
-

22
+

23
23
24
24
## Smart contract
25
25
@@ -75,7 +75,7 @@ The `update` function is another public function that is similar to the constr
75
75
76
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.
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 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).
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.
81
81
@@ -122,13 +122,13 @@ In both Testnet and Mainnet, you do the below to deploy your smart contract usin
122
122
123
123
- Select **Injected Provider** MetaMask in the **Environment** dropdown and your contract
- Accept the **Connect** request received in MetaMask. If the popup doesn't open by default, you can also try manually launching the MetaMask extension
128
128
129
129
- Once MetaMask is connected to Remix, the `Deploy` transaction would generate another MetaMask popup that requires transaction confirmation. Simply confirm the transaction!
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/>.
@@ -35,11 +35,11 @@ Every Repl that you create is a fully functional development and production envi
35
35
36
36
1.[Log in](https://replit.com/login) or [create an account](https://replit.com/signup). After creating your account, your home screen will include a dashboard where you can view, create projects, and manage your account.
37
37
38
-

38
+

39
39
40
40
2. Once logged in, create a Solidity starter repl, Select **+ Create Repl** from the left panel or **+** in the top right corner of the screen.
41
41
42
-

42
+

43
43
44
44
3. Select the [**Solidity starter (beta)**](https://replit.com/@replit/Solidity-starter-beta?v=1) template and give your project a title.
45
45
@@ -55,13 +55,13 @@ 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 [Mumbai Testnet](../../wallets/metamask/add-polygon-network.md).
59
59
60
-

60
+

61
61
62
62
3. Click on **Connect wallet**, select your account, then choose **Connect**.
63
63
64
-

64
+

65
65
66
66
4. From the dropdown list, select the contract that you want to deploy. Click on **Deploy**.
0 commit comments