Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 6880d54

Browse files
committed
deploy to polygon matic mainnet
1 parent 72ebc94 commit 6880d54

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@
1818

1919
9. Check your address (0xa41B6af0e5a3611E3694eE14EcEFeA85AD0cCADD) on https://mumbai.polygonscan.com/
2020

21-
10. Write a script to interact with your contract -> `scripts/greet.js`
21+
10. Write a script to interact with your contract -> `scripts/greet.js`
22+
23+
11. Deploy to Polygon Matic Mainnet -> add matic mainnet network config to `hardhat.config.js`

hardhat.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ module.exports = {
2323
mumbai: {
2424
url: process.env.ALCHEMY_URL,
2525
accounts: [process.env.PRIVATE_KEY],
26+
},
27+
matic: {
28+
url: process.env.MATIC_URL,
29+
accounts: [process.env.PRIVATE_KEY],
2630
}
2731
}
2832
};

0 commit comments

Comments
 (0)