Default and developing configurations ready

This commit is contained in:
Jordi Montes 2018-01-22 23:43:32 +01:00
parent 4b8524b0e7
commit 3ff0ae31cc
2 changed files with 48 additions and 19 deletions

View File

@ -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: {}
}

View File

@ -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
}