UNPKG

crypto-bot

Version:

multi-function tools for blockchain automation

68 lines (59 loc) 1.76 kB
const { dirname } = require('path'); const appDir = dirname(require.main.filename); const datapath = appDir + '/data' const configpath = appDir + '/config' const temppath = appDir + '/temp' // make sure the end with / !!! const default_temp = "./temp/"; //const DATA_TYPE = 0 const data_temp = temppath + "/data"; //const WALLET_TEMP = 3; const wallet_temp = datapath + "/wallet/temp/"; //const WALLET_DB = 99; const wallet_db = datapath + "/wallet/database/"; //const WALLET_MERGE = 5; const wallet_merge = datapath + "/wallet/temp/database/"; //const PAIRLIST_TYPE = 9 const pairlist_temp = temppath + "./pairlist/"; //const PAIRDATA_TYPE = 10; const pairdata = datapath + "/pairs/"; //const PAIRINDEX_TYPE = 15; const pairindex = datapath + "/pairindex/" //const PAIRDATA_TEMP_TYPE = 11; const pairdata_temp = temppath + "/pairs/"; //const EXCHANGE_TYPE = 1; const exchange_temp = temppath + "/exchange/"; const exchange = datapath + "/exchange/"; //const TOKEN_TYPE = 20 //const TOKEN_TYPE = 20 const token = datapath + "/token/"; const token_temp = temppath + "/token/"; //const SNIPER_TYPE = 50 const sniper_temp = temppath + "/sniper/"; //const CLEANER_TYPE = 60 const cleaner_temp = temppath + "/cleaner/"; const network = configpath + "/networks/"; const scenario = configpath + "/scenario/" //const CLEANER_TYPE const state = appDir + "/state/"; const botConfig = { data_temp, default_temp, wallet_temp, wallet_db, wallet_merge, pairlist_temp, token_temp, pairdata_temp, pairdata, sniper_temp, cleaner_temp, exchange, exchange_temp, pairindex, token, state, network, scenario }; module.exports = botConfig;