Skip to content

Commit

Permalink
feat: added skale-v2 support in hardhat config (#813)
Browse files Browse the repository at this point in the history
* feat: added skale-v2 support in hardhat config

* fix: resolved linting in hardhat config
  • Loading branch information
Shrikant1212 committed Jun 2, 2022
1 parent f7d482f commit a981f25
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint-disable no-undef */
const dotenv = require('dotenv');
require('hardhat-deploy');

const dotenvResult = dotenv.config();

if (dotenvResult.error) {
throw dotenvResult.error;
}

require('hardhat-deploy');
require('@nomiclabs/hardhat-ethers');
require('hardhat-gas-reporter');
require('solidity-coverage');
Expand All @@ -32,6 +32,7 @@ const ENV_CHAIN_IDS = {
mainnet: 1,
goerli: 5,
mumbai: 80001,
skale: 132333505628089,
};

module.exports = {
Expand Down Expand Up @@ -84,6 +85,11 @@ module.exports = {
accounts: { mnemonic: MNEMONIC },
chainId: ENV_CHAIN_IDS[NETWORK],
},
skale: {
url: PROVIDER_URL || '',
accounts: { mnemonic: MNEMONIC },
chainId: ENV_CHAIN_IDS[NETWORK],
},
},
etherscan: {
apiKey: ETHERSCAN_KEY,
Expand Down

0 comments on commit a981f25

Please sign in to comment.