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: README.md
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -33,23 +33,14 @@ Truffle
33
33
3. In terminal```truffle migrate```
34
34
35
35
#### Deploying to Matic
36
-
1.```npm install truffle -g```
37
-
38
-
Mumbai Testnet configured in ```./truffle-config.js```
39
-
40
-
Test deployment using Truffle against a runnning Ganache instance: ```truffle migrate```
41
-
Deploy to Mumbai testnet: ```truffle migrate --network matic```
42
-
43
-
Verify contract address at the [Matic Explorer](https://explorer-mumbai.maticvigil.com/)
36
+
Deployment to the Mumbai Testnet is configured in ```./truffle-config.js```
44
37
45
-
*Verifying & publishing the contract code*
46
-
47
-
In the [Matic Explorer](https://explorer-mumbai.maticvigil.com/) find your contract based on the address reported by Truffle.
48
-
Go to the tab ```Code```
49
-
50
-
Flattening contract: https://github.com/poanetwork/solidity-flattener and cleanup SPDX licenses and _Chainlink appended to classes like SafeMath, Buffer and ENSResolver
38
+
1.```npm install truffle -g```
39
+
2. Deploy to Mumbai testnet: ```truffle migrate --network matic```
40
+
3. Find your contract based on the address reported by Truffle in the [Matic Explorer](https://explorer-mumbai.maticvigil.com/).
51
41
52
-
Quite note on setting up Matic:
42
+
Quite note on deploying to Matic:
43
+
* Test deployment using Truffle against a runnning Ganache instance: ```truffle migrate```
53
44
* Configure Matic network in [MetaMask](https://docs.matic.network/docs/develop/metamask/config-matic/)
54
45
* Request funds at [faucet](https://faucet.matic.network/)
55
46
* Use this wallet's seed phrase in the .env file to pay the deployment
A commitment consists of an ```activity```, a ```goalValue``` for given activity, a ```startTime```, and ```stake```. We will automagically set the ```endTime``` 7 days after the startdate.
0 commit comments