-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.js
48 lines (46 loc) · 981 Bytes
/
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
48
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config();
const test_key= process.env.TEST_PRIVATE_KEY
console.log(process.env.TEST_PRIVATE_KEY)
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{
version: "0.8.9",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
metadata: {
bytecodeHash: "none",
},
},
},
],
},
networks: {
mantle: {
url: process.env.MANTLE_RPC_URL,
accounts: [ test_key ]
},
optimism: {
url: process.env.OPTIMISM_RPC_URL,
accounts: [ test_key ]
},
sepolia: {
url: process.env.SEPOLIA_RPC_URL,
accounts: [ test_key ]
},
},
mocha: {
timeout: 100000,
},
etherscan: {
apiKey: {
aurora: process.env.AURORASCAN_API_KEY,
auroraTestnet: process.env.AURORASCAN_API_KEY,
},
},
};