Skip to content

Commit

Permalink
feat: add amoy testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
isaackps committed Mar 12, 2024
1 parent 582bc88 commit 9c052de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
stabilitytestnet: {
...networkConfig,
url: "https://free.testnet.stabilityprotocol.com"
url: "https://free.testnet.stabilityprotocol.com",
},
/**
* Polygon
Expand All @@ -124,6 +124,10 @@ const config: HardhatUserConfig = {
// Uncomment line below if using Infura
// url: `https://polygon-mumbai.infura.io/v3/${INFURA_APP_ID}`,
},
amoy: {
...networkConfig,
url: `https://polygon-amoy.infura.io/v3/${INFURA_APP_ID}`,
},
/**
* Development
*/
Expand Down
3 changes: 3 additions & 0 deletions src/constants/contract-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const ChainId = {
Sepolia: 11155111,
Polygon: 137,
PolygonMumbai: 80001,
PolygonAmoy: 80002,
XDC: 50,
XDCApothem: 51,
HederaMainnet: 295,
Expand All @@ -17,6 +18,7 @@ export const contractAddress = {
[ChainId.Sepolia]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5",
[ChainId.Polygon]: "0x5B5F8d94782be18E22420f3276D5ef5a1bc65C53",
[ChainId.PolygonMumbai]: "0x5aA71Cc9559bC5e54E9504a81496d9F8454721F5",
[ChainId.PolygonAmoy]: "0x812A0E71c61A42C8d3d449BdfF51834f85686C73",
[ChainId.XDC]: "0x50BfCc1b699fD2308B978B7a6A26e3C3Bbad16DC",
[ChainId.XDCApothem]: "0xce28778bE6cF32ef3Ccbc09910258DF592F3b6F1",
[ChainId.HederaTestnet]: "0x5B5F8d94782be18E22420f3276D5ef5a1bc65C53",
Expand All @@ -36,6 +38,7 @@ export const contractAddress = {
[ChainId.Sepolia]: "0xC78BA1a49663Ef8b920F36B036E91Ab40D8F26D6",
[ChainId.Polygon]: "0xd3F09dD800525Ecf7e452C3c167C7c716632d016",
[ChainId.PolygonMumbai]: "0x83A533397eFE1d90baA26dEc7743626d7598656F",
[ChainId.PolygonAmoy]: "0xbA351CF5EC041EF661699ab5cfF605850b6Dcd91",
[ChainId.StabilityTestnet]: "0x6cDc8cD1d9c3f28DC59F5021401687E98bd18740",
},
};

0 comments on commit 9c052de

Please sign in to comment.