-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
47 lines (44 loc) · 1.07 KB
/
hardhat.config.ts
File metadata and controls
47 lines (44 loc) · 1.07 KB
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
/** @type import('hardhat/config').HardhatUserConfig */
import '@nomiclabs/hardhat-ethers'
import * as dotenv from 'dotenv'
import { task } from "hardhat/config"
import './scripts/networkTest'
dotenv.config()
const MNEMONIC = process.env.MNEMONIC
export default {
solidity: {
version: '0.8.16',
settings: {
optimizer: {
enabled: true,
runs: 50,
},
},
},
mocha: {
timeout: 100000000,
},
networks: {
fantom_testnet: {
url: `https://rpc.ankr.com/fantom_testnet`,
accounts: {
mnemonic: MNEMONIC,
},
chainId: 4002,
},
matic_testnet: {
url: `https://matic-mumbai.chainstacklabs.com`,
accounts: {
mnemonic: MNEMONIC,
},
chainId: 80001,
},
nova_network: {
url: `https://dev.rpc.novanetwork.io/`,
accounts: {
mnemonic: MNEMONIC,
},
chainId: 87,
},
},
}