-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
95 lines (91 loc) · 2.49 KB
/
hardhat.config.ts
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import dotenv from "dotenv";
// PriceFeed Tasks
import "./tasks/transmit";
import "./tasks/latestAnswer";
dotenv.config();
const config: HardhatUserConfig = {
solidity: '0.8.25',
networks: {
arbitrumSepolia: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://sepolia-rollup.arbitrum.io/rpc',
chainId: 421614,
},
baseSepolia: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://sepolia.base.org',
chainId: 84532,
},
berachainBartio: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://bartio.rpc.berachain.com',
chainId: 80084,
},
flowTestnet: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://testnet.evm.nodes.onflow.org',
chainId: 545,
minGasPrice: 100000000,
},
holesky: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://ethereum-holesky-rpc.publicnode.com',
chainId: 421614,
},
inkSepolia: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://rpc-gel-sepolia.inkonchain.com/',
chainId: 763373,
},
seiTestnet: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://evm-rpc-testnet.sei-apis.com',
chainId: 118,
},
unichainSepolia: {
accounts: [process.env.EVM_PRIVATE_KEY || ""],
url: 'https://sepolia.unichain.org',
chainId: 1301,
},
},
etherscan: {
apiKey: process.env.BASE_SEPOLIA_ETHERSCAN_API_KEY || "",
customChains: [
{
chainId: 84532,
network: 'baseSepolia',
urls: {
apiURL: 'https://api-sepolia.basescan.org/api',
browserURL: 'https://sepolia.basescan.org',
}
},
{
chainId: 1301,
network: 'unichainSepolia',
urls: {
apiURL: 'https://api-sepolia.uniscan.xyz/api',
browserURL: 'https://sepolia.uniscan.xyz',
}
},
{
chainId: 80084,
network: 'berachainBartio',
urls: {
apiURL: 'https://api.routescan.io/v2/network/testnet/evm/80084/etherscan/api',
browserURL: 'https://bartio.beratrail.io',
}
},
{
chainId: 421614,
network: 'arbitrumSepolia',
urls: {
apiURL: 'https://api-sepolia.arbiscan.io/api',
browserURL: 'https://sepolia.arbiscan.io',
}
}
]
}
}
export default config;