-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
53 lines (52 loc) · 1.29 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
require('@nomicfoundation/hardhat-verify');
require('@nomicfoundation/hardhat-chai-matchers');
require("hardhat-contract-sizer");
require('hardhat-dependency-compiler');
require('hardhat-deploy');
require('hardhat-gas-reporter');
require('hardhat-tracer');
require('dotenv').config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{
version: '0.8.24',
}
]
},
etherscan: {
apiKey: {
blast_sepolia: "blast_sepolia", // apiKey is not required, just set a placeholder
blast: process.env.BLASTSCAN_API_KEY
},
customChains: [
{
network: "blast_sepolia",
chainId: 168587773,
urls: {
apiURL: "https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan",
browserURL: "https://testnet.blastscan.io"
}
},
{
network: "blast",
chainId: 81457,
urls: {
apiURL: "https://api.blastscan.io/api",
browserURL: "https://blastscan.io"
}
}
]
},
networks: {
blast_sepolia: {
url: 'https://sepolia.blast.io',
accounts: [process.env.DEPLOYER_PRIVATE_KEY]
},
blast: {
url: 'https://rpc.blast.io',
accounts: [process.env.DEPLOYER_PRIVATE_KEY]
},
}
};