-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
44 lines (42 loc) · 1.09 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
// import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
require("dotenv").config({ path: ".env" });
import * as dotenv from "dotenv";
dotenv.config();
const ALCHEMY_MAINNET_API_KEY_URL = process.env.ALCHEMY_MAINNET_API_KEY_URL;
module.exports = {
solidity: "0.8.24",
networks: {
"lisk-sepolia": {
url: process.env.LISK_RPC_URL!,
accounts: [process.env.ACCOUNT_PRIVATE_KEY!],
gasPrice: 1000000000,
},
hardhat: {
forking: {
url: ALCHEMY_MAINNET_API_KEY_URL,
}
}
},
etherscan: {
// Use "123" as a placeholder, because Blockscout doesn't need a real API key, and Hardhat will complain if this property isn't set.
apiKey: {
"lisk-sepolia": "123",
},
customChains: [
{
network: "lisk-sepolia",
chainId: 4202,
urls: {
apiURL: "https://sepolia-blockscout.lisk.com/api",
browserURL: "https://sepolia-blockscout.lisk.com",
},
},
],
},
sourcify: {
enabled: false,
},
lockGasLimit: 200000000000,
gasPrice: 10000000000,
};