-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
51 lines (49 loc) · 1.18 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
import type { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-chai-matchers";
import "hardhat-deploy";
import "hardhat-deploy-ethers";
const baseConfig: HardhatUserConfig = {
solidity: "0.8.26",
paths: {
sources: "./contracts",
tests: "./tests",
cache: "./cache",
artifacts: "./artifacts",
},
namedAccounts: {
deployer: {
default: 0,
},
receiver: {
default: 1,
},
zeroAddress: {
default: "0x0000000000000000000000000000000000000000",
},
oneAddress: {
default: "0x0000000000000000000000000000000000000001",
},
twoAddress: {
default: "0x0000000000000000000000000000000000000002",
},
},
networks: {
localhost: {
saveDeployments: true,
},
hardhat: {
saveDeployments: true,
},
scrollSepolia: {
url: "https://sepolia-rpc.scroll.io",
chainId: 534351,
accounts: ["9eecefe38415eae16772dfae13e8b751fafd1c2993c6af84f38e9f5e1be18b88"], // Use your private key or set it in an environment variable
saveDeployments: true,
},
},
mocha: {
timeout: 40000,
},
};
export default baseConfig;