forked from cryptothedev/web3-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
38 lines (34 loc) · 837 Bytes
/
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
import '@nomicfoundation/hardhat-toolbox'
import { HardhatUserConfig } from 'hardhat/config'
import { ConfigService } from './src/services/config.service'
const accounts = {
mnemonic: ConfigService.getMnemonic(),
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 1,
}
const config: HardhatUserConfig = {
solidity: '0.8.18',
typechain: {
externalArtifacts: ['./abis/*.json'],
},
networks: {
eth: {
url: 'https://eth.llamarpc.com',
accounts,
},
zk: {
url: 'https://mainnet.era.zksync.io',
accounts,
},
arbitrum: {
url: 'https://evocative-small-wave.arbitrum-mainnet.discover.quiknode.pro/7e16177013dd55e962aa2c83e4520c4e90e44ee5/',
accounts,
},
bsc: {
url: 'https://bsc-dataseed1.binance.org/',
accounts,
},
},
}
export default config