-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhardhat.config.js
48 lines (42 loc) · 1.04 KB
/
hardhat.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-verify");
require("@nomicfoundation/hardhat-ledger");
const {
ARBITRUM_URL,
ARBITRUM_DEPLOY_KEY,
ARBITRUM_LEDGER_ACCOUNT,
ARBISCAN_API_KEY,
ETHEREUM_URL,
ETHEREUM_DEPLOY_KEY,
ETHEREUM_LEDGER_ACCOUNT,
} = require("./env.json");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.18",
};
// NEVER record important private keys in your code - this is for demo purposes
// const GOERLI_TESTNET_PRIVATE_KEY = "";
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.18",
networks: {
hardhat: {
chainId: 1337,
},
arbitrumOne: {
url: ARBITRUM_URL,
// accounts: [ARBITRUM_DEPLOY_KEY],
ledgerAccounts: [ARBITRUM_LEDGER_ACCOUNT],
},
ethereum: {
url: ETHEREUM_URL,
// accounts: [ETHEREUM_DEPLOY_KEY]
ledgerAccounts: [ETHEREUM_LEDGER_ACCOUNT],
},
},
etherscan: {
apiKey: {
arbitrumOne: ARBISCAN_API_KEY
}
}
};