Skip to content

Commit

Permalink
feat(stability): added support for Stability Testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
deblanco committed Jan 9, 2024
1 parent d45bee2 commit d8451b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ Here's a list of network names currently pre-configured:
- `xdcapothem` (XDC Apothem TestNet)
- `hederamainet` (Hedera Network Mainnet)
- `hederatestnet` (Hedera Network TestNet)
- `stabilitytestnet` (Stability TestNet)

> 💡 You can configure existing and add other networks you wish to deploy to in the `hardhat.config.ts` file.
Expand Down
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ const config: HardhatUserConfig = {
...networkConfig,
url: "https://testnet.hashio.io/api",
},
stabilitytestnet: {
...networkConfig,
url: "https://free.testnet.stabilityprotocol.com"
},
/**
* Polygon
*/
Expand Down
2 changes: 2 additions & 0 deletions src/constants/contract-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ChainId = {
XDCApothem: 51,
HederaMainnet: 295,
HederaTestnet: 296,
StabilityTestnet: 20180427,
};

export const contractAddress = {
Expand All @@ -18,6 +19,7 @@ export const contractAddress = {
[ChainId.XDC]: "0x50BfCc1b699fD2308B978B7a6A26e3C3Bbad16DC",
[ChainId.XDCApothem]: "0xce28778bE6cF32ef3Ccbc09910258DF592F3b6F1",
[ChainId.HederaTestnet]: "0xde5aBf7B2416b99cba15021E3CF35A2a56ac83c1",
[ChainId.StabilityTestnet]: "0x3ED34ef70c542B740534FE134cA6DA4fF7563E76",
},
Deployer: {
[ChainId.Ethereum]: "0x92470d0Fc33Cbf2f04B39696733806a15eD7eef3",
Expand Down

0 comments on commit d8451b3

Please sign in to comment.