forked from 6eer/uniswap-sushiswap-arbitrage-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
29 lines (27 loc) · 838 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
require('dotenv').config()
const projectId = process.env.PROJECT_ID;
module.exports = {
contracts_directory: "./src/contracts",
networks: {
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
},
fork: {
host: "localhost", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "1", // Any network (default: none)
},
ropsten: {
url:`wss://ropsten.infura.io/ws/v3/${projectId}`,
network_id: '3',
websockets: true
},
},
compilers: {
solc: {
version: "0.6.6", // Fetch exact version from solc-bin (default: truffle's version)
},
},
};