-
Notifications
You must be signed in to change notification settings - Fork 17
/
hardhat.config.js
executable file
·43 lines (42 loc) · 1.17 KB
/
hardhat.config.js
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
require("@nomicfoundation/hardhat-toolbox");
const fs = require("fs");
const privateKey = fs.readFileSync("secrete.txt").toString();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
defaultNetwork: "sepolia",
networks: {
hardhat: {
chainId: 4202,
},
sepolia: {
url: "https://rpc.sepolia-api.lisk.com",
accounts: [privateKey],
gasPrice: 1000000000,
},
BitTorrent: {
url: "https://pre-rpc.bt.io/",
accounts: [privateKey],
gasPrice: 1000000000,
},
zkEVMCardonaTestnet: {
url: "https://polygon-zkevm-cardona.blockpi.network/v1/rpc/public",
accounts: [privateKey],
gas: 6000000,
gasPrice: 20000000000,
},
mumbai: {
url: "https://rpc-mumbai.maticvigil.com",
accounts: [privateKey],
},
matic: {
url: "https://polygon-mumbai.g.alchemy.com/v2/2bGIFu-iEnl9RvAOTe1ddZI2gBnuYQGS",
accounts: [privateKey],
},
},
solidity: "0.8.24",
allowUnlimitedContractSize: true,
throwOnTransactionFailures: true,
throwOnCallFailures: true,
loggingEnabled: true,
};
// npx hardhat ignition deploy ./ignition/modules/Lock.js --network BitTorrent