-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
41 lines (39 loc) · 899 Bytes
/
truffle-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
const path = require("path");
require('dotenv').config();
const HDWalletProvider = require('@truffle/hdwallet-provider');
const mnemonic = process.env.MNEMONIC;
const alchemyKey = process.env.ALCHEMY_API_KEY;
module.exports = {
contracts_build_directory: path.join(__dirname, "client", "src", "contract", "build"),
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*"
},
pipeline: {
hostname: "backend",
port: 8545,
network_id: "*"
},
dashboard: {
port: 24012
},
sepolia: {
provider: () => new HDWalletProvider(mnemonic, `https://base-sepolia.g.alchemy.com/v2/${alchemyKey}`),
network_id: 84532,
confirmations: 1,
timeoutBlocks: 200,
skipDryRun: true
},
},
mocha: {},
compilers: {
solc: {
version: "0.8.13"
}
},
db: {
enabled: false
}
};