-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
71 lines (68 loc) · 1.77 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
import type { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox-viem";
import "@nomicfoundation/hardhat-verify";
require("dotenv").config();
const config: HardhatUserConfig = {
solidity: '0.8.28',
ignition: {
requiredConfirmations: 1,
},
networks: {
flow: {
url: 'https://mainnet.evm.nodes.onflow.org',
accounts: [process.env.DEPLOY_WALLET_1 as string],
gas: 5000000,
// gasPrice: 100000000,
},
polygon: {
url: 'https://polygon-rpc.com',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
base: {
url: 'https://mainnet.base.org/',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
mainnet: {
url: 'https://eth.public-rpc.com',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
optimism: {
url: 'https://mainnet.optimism.io',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
avalanche: {
url: 'https://api.avax.network/ext/bc/C/rpc',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
arbitrum: {
url: 'https://arb1.arbitrum.io/rpc',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
bsc: {
url: 'https://bsc-dataseed.binance.org/',
accounts: [process.env.DEPLOY_WALLET_1 as string],
},
},
etherscan: {
apiKey: {
// Is not required by blockscout. Can be any non-empty string
'flow': "abc",
polygon: "abc",
base: process.env.BASESCAN_API_KEY as string,
},
customChains: [
{
network: "flow",
chainId: 747,
urls: {
apiURL: "https://evm.flowscan.io/api",
browserURL: "https://evm.flowscan.io/",
}
}
]
},
sourcify: {
enabled: false
}
};
export default config;