35 lines
930 B
JavaScript
35 lines
930 B
JavaScript
const { usePlugin } = require('@nomiclabs/buidler/config')
|
|
const hooks = require('./scripts/buidler-hooks')
|
|
|
|
usePlugin('@aragon/buidler-aragon')
|
|
|
|
module.exports = {
|
|
// Default Buidler configurations. Read more about it at https://buidler.dev/config/
|
|
defaultNetwork: 'localhost',
|
|
networks: {
|
|
localhost: {
|
|
url: 'http://localhost:8545',
|
|
},
|
|
},
|
|
solc: {
|
|
version: '0.4.24',
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 10000,
|
|
},
|
|
},
|
|
// Etherscan plugin configuration. Learn more at https://github.com/nomiclabs/buidler/tree/master/packages/buidler-etherscan
|
|
etherscan: {
|
|
apiKey: '', // API Key for smart contract verification. Get yours at https://etherscan.io/apis
|
|
},
|
|
// Aragon plugin configuration
|
|
aragon: {
|
|
appServePort: 8001,
|
|
clientServePort: 3000,
|
|
appSrcPath: 'app/',
|
|
appBuildOutputPath: 'dist/',
|
|
appName: 'expenses',
|
|
hooks, // Path to script hooks
|
|
},
|
|
}
|