-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
48 lines (43 loc) · 1.16 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
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config()
// KLAYTN_URL
// Go to https://www.allthatnode.com/, sign up, create
// a new App in its dashboard, and replace "KEY" with its key
// PRIVATE_KEY
// Replace this private key with your Kaikas account private key
// To export your private key from Kaikas, open Kaikas and
// go to Account Details > Export Private Key
// Beware: NEVER put real KLAY into testing accounts
module.exports = {
solidity: "0.8.17",
networks: {
baobab: {
url: process.env.BAOBAB_RPC_URL || "",
gasPrice: 250000000000,
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
hardhat: {
forking: {
url: process.env.CYPRESS_ARCHIVE_URL || "",
}
}
}
};
// MNEMONICs Config
// module.exports = {
// solidity: "0.8.17",
// networks: {
// baobab: {
// url: process.env.KLAYTN_URL || "",
// gasPrice: 250000000000,
// accounts: {
// mnemonic: process.env.MNEMONIC || "",
// path: "m/44'/60'/0'/0",
// initialIndex: 0,
// count: 20,
// passphrase: "",
// },
// },
// },
// };