diff --git a/README.md b/README.md index 3482ff1b..f84dc35a 100644 --- a/README.md +++ b/README.md @@ -366,6 +366,8 @@ Here's a list of network names currently pre-configured: - `mumbai` (Polygon Mumbai) - `xdc` (XDC Network Mainnet) - `xdcapothem` (XDC Apothem TestNet) +- `hederamainnet` (Hedera Network Mainnet) +- `hederatestnet` (Hedera Network TestNet) > 💡 You can configure existing and add other networks you wish to deploy to in the `hardhat.config.ts` file. diff --git a/hardhat.config.ts b/hardhat.config.ts index d91a744a..9586d940 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -102,6 +102,14 @@ const config: HardhatUserConfig = { ...networkConfig, url: "https://erpc.apothem.network", }, + hederamainnet: { + ...networkConfig, + url: "https://mainnet.hashio.io/api", + }, + hederatestnet: { + ...networkConfig, + url: "https://testnet.hashio.io/api", + }, /** * Polygon */ diff --git a/src/constants/contract-address.ts b/src/constants/contract-address.ts index 642a99a0..cc899576 100644 --- a/src/constants/contract-address.ts +++ b/src/constants/contract-address.ts @@ -6,6 +6,8 @@ const ChainId = { PolygonMumbai: 80001, XDC: 50, XDCApothem: 51, + HederaMainnet: 295, + HederaTestnet: 296, }; export const contractAddress = {