diff --git a/packages/hardhat/hardhat.config.js b/packages/hardhat/hardhat.config.js index 37ff3adb4..09c030817 100644 --- a/packages/hardhat/hardhat.config.js +++ b/packages/hardhat/hardhat.config.js @@ -185,6 +185,22 @@ module.exports = { mnemonic: mnemonic(), }, }, + testnetHarmony: { + url: "https://api.s0.b.hmny.io", + gasPrice: 1000000000, + chainId: 1666700000, + accounts: { + mnemonic: mnemonic(), + }, + }, + mainnetHarmony: { + url: "https://api.harmony.one", + gasPrice: 1000000000, + chainId: 1666600000, + accounts: { + mnemonic: mnemonic(), + }, + }, }, solidity: { compilers: [ diff --git a/packages/react-app/src/constants.js b/packages/react-app/src/constants.js index ac5280c67..4936ad86c 100644 --- a/packages/react-app/src/constants.js +++ b/packages/react-app/src/constants.js @@ -167,6 +167,22 @@ export const NETWORKS = { rpcUrl: `https://api.avax.network/ext/bc/C/rpc`, gasPrice: 225000000000, }, + testnetHarmony: { + name: "Harmony Testnet", + color: "#00b0ef", + chainId: 1666700000, + blockExplorer: "https://explorer.pops.one/", + rpcUrl: `https://api.s0.b.hmny.io`, + gasPrice: 1000000000, + }, + mainnetHarmony: { + name: "Harmony Mainnet", + color: "#00b0ef", + chainId: 1666600000, + blockExplorer: "https://explorer.harmony.one/", + rpcUrl: `https://api.harmony.one`, + gasPrice: 1000000000, + }, }; export const NETWORK = chainId => {