forked from filecoin-project/state-storage-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.cjs
36 lines (35 loc) · 898 Bytes
/
hardhat.config.cjs
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
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-ethers");
require('dotenv').config();
const WalletPK = process.env.PRIVATE_KEY;
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{version: "0.8.20",},
{version: "0.8.19",},
],
},
defaultNetwork: "calibration",
networks: {
filecoin: {
chainId: 314,
url: "https://api.node.glif.io/rpc/v1",
accounts: [WalletPK]
},
calibration: {
chainId: 314159,
url: "https://api.calibration.node.glif.io/rpc/v1",
accounts: [WalletPK]
}
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts",
},
mocha: {
timeout: 600000
}
}