-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
58 lines (54 loc) · 1.46 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
52
53
54
55
56
57
58
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@nomiclabs/hardhat-etherscan";
const pvtKey = '0xbbc6703446945a0d6e1d40d50664da1c37bf51a1383ce165af96ccaa62c8f56e'
const pvtKeyMainnet = '0xd8406bf2f8048957fd35c67f9f32b75516d1601b7aa8cb367a50ebd5a69bebbe'
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.5.0",
},
{
version: "0.8.15"
},
],
},
networks: {
hardhat: {
blockGasLimit: 32999064,
// url: `http://localhost:8545`,
// accounts: [`0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`],
},
luksoTestnet: {
url: `https://rpc.testnet.lukso.network`,
accounts: [pvtKey],
},
luksoMainnet: {
url: `https://rpc.mainnet.lukso.network`,
accounts: [pvtKeyMainnet],
},
l3030: {
url: `https://rpc.execution.3030.devnet.lukso.dev`,
accounts: [pvtKey],
},
localhost: {
url: `http://localhost:8545`,
accounts: [`0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`],
}
},
etherscan: {
apiKey: 'no-api-key-needed',
customChains: [
{
network: "luksoTestnet",
chainId: 4201,
urls: {
apiURL: "https://explorer.execution.testnet.lukso.network/api",
browserURL: "https://explorer.execution.testnet.lukso.network/",
},
},
],
},
};
export default config;