mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
627 B
27 lines
627 B
const path = require('path');
|
|
|
|
const { GANACHE_HOST } = process.env;
|
|
const { GANACHE_PORT } = process.env;
|
|
|
|
module.exports = {
|
|
// See <http://truffleframework.com/docs/advanced/configuration>
|
|
// to customize your Truffle configuration!
|
|
compilers: {
|
|
solc: {
|
|
version: '0.7.1',
|
|
},
|
|
},
|
|
contracts_build_directory: path.join(__dirname, 'build/'),
|
|
networks: {
|
|
develop: {
|
|
host: GANACHE_HOST || '127.0.0.1',
|
|
port: GANACHE_PORT || '8545',
|
|
network_id: '*',
|
|
},
|
|
test: {
|
|
host: GANACHE_HOST || '127.0.0.1',
|
|
port: GANACHE_PORT || '8546',
|
|
network_id: '*',
|
|
},
|
|
},
|
|
};
|
|
|