29 lines
687 B
JavaScript
29 lines
687 B
JavaScript
|
const { usePlugin } = require('@nomiclabs/buidler/config')
|
||
|
|
||
|
usePlugin("@nomiclabs/buidler-ganache")
|
||
|
usePlugin('@nomiclabs/buidler-truffle5')
|
||
|
|
||
|
module.exports = {
|
||
|
networks: {
|
||
|
// Development network is just left as truffle's default settings
|
||
|
ganache: {
|
||
|
url: 'http://localhost:8545',
|
||
|
gasLimit: 5000000,
|
||
|
gasPrice: 1000000000, // 1 gwei (in wei)
|
||
|
defaultBalanceEther: 100
|
||
|
},
|
||
|
ethermint: {
|
||
|
url: 'http://localhost:8545',
|
||
|
gasLimit: 5000000, // Gas sent with each transaction
|
||
|
gasPrice: 1000000000, // 1 gwei (in wei)
|
||
|
},
|
||
|
},
|
||
|
solc: {
|
||
|
version: '0.4.24',
|
||
|
optimizer: {
|
||
|
enabled: true,
|
||
|
runs: 10000,
|
||
|
},
|
||
|
},
|
||
|
}
|