-
Notifications
You must be signed in to change notification settings - Fork 5
/
coralX-config.js
49 lines (48 loc) · 1.3 KB
/
coralX-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
44
45
46
47
48
49
const fs = require("fs");
const path = require("path");
const dotenv = require('dotenv');
dotenv.config();
module.exports = {
networks: {
development: {
host: "http://127.0.0.1:8545",
private_key: fs.readFileSync("./privateKey").toString(),
gasPrice: '0x3b9aca00',
},
sepolia: {
host: "https://sepolia.infura.io/v3/99c6910d87a34c688c79342177d37bbe",
private_key: fs.readFileSync("./privateKey").toString(),
gasPrice: '0x3b9aca00',
},
apothem: {
host: "https://arpc.apothem.network",
private_key: fs.readFileSync("./privateKey").toString(),
gasPrice: '0x3b9aca00',
},
xdc: {
host: "https://erpc.xinfin.network",
private_key: fs.readFileSync("./privateKey").toString(),
gasPrice: '0x3b9aca00',
},
fromEnv: {
host: process.env.ETH_HOST, // export ETH_HOST=...
private_key: process.env.ETH_PK, // export ETH_PK=...
gasPrice: process.env.GAS_PRICE, // export GAS_PRICE=...
},
},
compilers: {
solc: {
version: 'native',
settings: {
optimizer: {
enabled: true,
details: { yul: false },
runs: 150,
},
evmVersion: 'istanbul',
},
},
},
scenarios: require('./coralX-scenarios'),
testsDir: path.join("scripts", "tests"),
}