From fbfc84a4c65eda199b82d52832741ec15dbb20bc Mon Sep 17 00:00:00 2001 From: wanwiset25 Date: Thu, 16 Nov 2023 10:16:53 +0400 Subject: [PATCH] net conf --- deployment.config.json.example | 2 ++ hardhat.config.js | 6 +++--- network.config.json | 6 ------ 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 network.config.json diff --git a/deployment.config.json.example b/deployment.config.json.example index 55403f5..d31982a 100644 --- a/deployment.config.json.example +++ b/deployment.config.json.example @@ -8,4 +8,6 @@ ], "gap": 450, "epoch": 900 + "xdcparentnet": "https://devnetstats.apothem.network/devnet", + "xdcsubnet": "https://devnetstats.apothem.network/subnet" } diff --git a/hardhat.config.js b/hardhat.config.js index d44d0b8..53717bc 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -1,7 +1,7 @@ require("@nomiclabs/hardhat-waffle"); require("hardhat-gas-reporter"); require("dotenv").config(); -const network = require("./network.config.json"); +const network = require("./deployment.config.json"); /** * @type import('hardhat/config').HardhatUserConfig */ @@ -32,14 +32,14 @@ module.exports = { ], }, xdcdevnet: { - url: network["xdcdevnet"], + url: "https://devnetstats.apothem.network/devnet", accounts: [ process.env.PRIVATE_KEY || "1234567890123456789012345678901234567890123456789012345678901234", ], }, xdctestnet: { - url: network["xdctestnet"], + url: "https://erpc.apothem.network/", accounts: [ process.env.PRIVATE_KEY || "1234567890123456789012345678901234567890123456789012345678901234", diff --git a/network.config.json b/network.config.json deleted file mode 100644 index 0a65492..0000000 --- a/network.config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "xdcparentnet": "https://devnetstats.apothem.network/devnet", - "xdcdevnet": "https://devnetstats.apothem.network/devnet", - "xdctestnet": "https://erpc.apothem.network/", - "xdcsubnet": "https://devnetstats.apothem.network/subnet" -}