diff --git a/config/default.js b/config/default.js index 55817f5..a0676ef 100644 --- a/config/default.js +++ b/config/default.js @@ -1,23 +1,33 @@ -const BOUNTY_LABELS = { - 'bounty-xs': 1, - 'bounty-s': 10, - 'bounty-m': 100, - 'bounty-l': 1000, - 'bounty-xl': 10000 -} - - - module.exports = { + // Debug mode for testing the bot debug: true, - urlEndpoint: '/autobounty/fund', - logPath: './log/', - signerPath: 'https://ropsten.infura.io', - sourceAddress: 'XXXXX', - token: 'SNT', - gasLimit: 92000, - priceHour: 35, - bountyLabels: BOUNTY_LABELS + + // URL where the bot is listening (e.g. '/funding') + urlEndpoint: '', + + // Path for the log files (e.g. './log/') + logPath: '', + + // URL for the signer (e.g. 'https://ropsten.infura.io') + signerPath: '', + + // Address with the funding for the bounties + sourceAddress: '', + + // Token of the currency for fetching real time prices (e.g. 'SNT') + token: '', + + // Limit for the gas used in a transaction (e.g. 92000) + gasLimit: 0, + + // Price per hour you will pay in dolars (e.g. 35) + priceHour: 0, + + // Delay before funding a bounty (e.g. 3600000) + delayInMiliSeconds: 0, + + // Bounty Labels for the issues and the correspondent houres (e.g. {'bounty-xs': 3}) + bountyLabels: {} } diff --git a/config/development.js b/config/development.js index 4ba52ba..2abaf9e 100644 --- a/config/development.js +++ b/config/development.js @@ -1 +1,20 @@ -module.exports = {} +const BOUNTY_LABELS = { + 'bounty-xs': 1, + 'bounty-s': 10, + 'bounty-m': 100, + 'bounty-l': 1000, + 'bounty-xl': 10000 +} + +module.exports = { + debug: true, + urlEndpoint: '/', + logPath: './log/', + signerPath: 'https://ropsten.infura.io', + sourceAddress: 'XXXXX', + token: 'SNT', + gasLimit: 92000, + priceHour: 35, + delayInMiliSeconds: 10000, + bountyLabels: BOUNTY_LABELS +}