-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
37 lines (35 loc) · 898 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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import * as dotenv from "dotenv";
dotenv.config();
const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
// for testnet
"lisk-sepolia": {
url: process.env.API_URL!,
accounts: [process.env.PRIVATE_KEY!],
gasPrice: 1000000000,
},
},
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,
},
};
export default config;