-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.js
73 lines (71 loc) · 2.03 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
require("@nomicfoundation/hardhat-toolbox");
require('@openzeppelin/hardhat-upgrades');
require('@nomicfoundation/hardhat-foundry');
require('dotenv').config()
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{
version: "0.8.20",
settings: {
evmVersion: "paris",
},
},
],
},
paths: {
sources: './src',
},
networks: {
"lineasepolia": {
url: `https://linea-sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8`,
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
linea: {
url: `https://linea-mainnet.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8`,
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
sepolia: {
url: `https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
bsctestnet: {
url: `https://data-seed-prebsc-1-s3.binance.org:8545`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
opbnbtestnet: {
url: `https://opbnb-testnet-rpc.bnbchain.org`,
accounts: [`${process.env.PRIVATE_KEY}`],
gasPrice: 2000000000
},
arbitrumone: {
url: `https://arb1.arbitrum.io/rpc`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
polygon: {
url: `https://polygon-rpc.com/`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
mumbai: {
url: `https://polygon-mumbai-bor.publicnode.com`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
bsc: {
url: `https://bsc-dataseed.binance.org`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
opbnb: {
url: `https://opbnb-rpc.publicnode.com`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
holesky: {
url: `https://ethereum-holesky-rpc.publicnode.com`,
accounts: [`${process.env.PRIVATE_KEY}`]
},
ethereum: {
url: `https://rpc.ankr.com/eth`,
accounts: [`${process.env.PRIVATE_KEY}`]
}
}
};