This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******** SETTINGS ********/ | |
const BET_SPEED = 2000 // time between bets in (ex 500 = 500ms = 0.5s) | |
const RETRIES = 5 // stops script after retrying this many times. | |
/**************************/ | |
const baseBet = 100, target = 2.3, betMultiplier = 1.9 | |
const startBal = this.balance | |
//const maxBet = (startBal > 70000 ? startBal > 5400000 ? 6000 : 700 : 80) * 100 | |
const maxBet = 60 * 100; | |
let retryCount = 0; | |
let lossCount = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ---- SETTINGS ---- */ | |
const baseBet = 100; | |
const basePayout = 1.5; | |
const baseMulti = 1.5; | |
const postBet = 2; | |
const maxProfit = 100000; | |
/* ----------------- */ | |
let currBet = baseBet, startBal = this.balance; | |
let postBal = startBal, prevBal = startBal; | |
let maxBet = baseBet * Math.pow(baseMulti, 5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// V1 Original | |
/*const generateClientSeed = () => { | |
let text = ""; | |
const possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
for (let i = 0; i < 16; i++) text += possible.charAt(Math.floor(Math.random() * possible.length)); | |
return text; | |
}*/ | |
// V2 | |
const generateClientSeed = (wordNum = 3, wordLen = 12, noNumeric, noRepeat, noReuse, a, b) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******** SETTINGS ********/ | |
const BET_SPEED = 30 // time between bets in (ex 500 = 500ms = 0.5s) | |
const RETRIES = 5 // stops script after consecutive attempts. | |
/**************************/ | |
const baseBet = 100, target = 1.3, betMultiplier = 8.6 | |
const startBal = this.balance | |
const maxBet = (startBal > 70000 ? startBal > 5400000 ? 6000 : 700 : 80) * 100 | |
let retryCount = 0; | |
let lossCount = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const baseBet = 100; | |
const basePayout = 1.2; | |
const baseMulti = 2; | |
const postBet = 1; | |
let currentBet = baseBet; | |
let startBal = this.balance; | |
let prevBal = this.balance; | |
while(true){ | |
prevBal = this.balance; | |
const { multiplier } = await this.bet(currentBet, basePayout) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
target: { value: 2, type: 'multiplier', label: 'Target Payout' }, | |
streak: { value: 4, type: 'multiplier', label: 'Min Length' } | |
}; | |
const history = engine.getState().history; | |
const busts = [], streaks = []; | |
let currentStart = null, currentStreak = 0; | |
for (let i = 0; i < history.length; i++) { | |
let item = [history[i].gameId, null, history[i].bust]; | |
updateStreaks(item); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await (async t => { | |
let a, i, n = (t, a = 2) => ((t + a) / a - a) / a, s = 100, c = n(t), e = n(n(t)); | |
const o = async t => (a = i && i.multiplier < e ? i.value * c : s, i = await this.bet(Math.round(a / s) * s, e)); | |
for (;;) await o().then(t => setTimeout(o, s)) | |
})(28.72); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var baseBet = 0.8 * 100 // how many satoshis to bet initially | |
var target = 5.4 // target multiplier | |
var betMultiplier = 1.2 // what to multiply the bet size by when we lose a wager | |
const MAX_BET = 10000 * 100 // maximum bet amount to stop script at (satoshis) | |
const MAX_GAMES = 2000 // maximum number of games to play before stopping (set to -1 for unlimited) | |
const BET_SPEED = 16 // time between bets in (ex 500 = 500ms = 0.5s) | |
const CLIENT_SEED = "fortuna" | |
let running = true | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let betCount = 0, totalOut = 0, totalIn = 0; | |
let queue = new Array(200); | |
const doResult = async function (context, result) { | |
totalIn++; | |
console.log(`Current Bets ${totalIn} IN / ${totalOut} OUT / ${betCount} TOTAL`); | |
} | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******** SETTINGS ********/ | |
const BASE_WAGER = 100; // Initial lowest possible bet to start with. (Satoshis) | |
const BASE_TARGET = 200; // Target payout to chase for. (Actual payout format 2.00x = 2.00) | |
const AUTO_MULTIPLE = false; // Auto calculate and override BET_MULTIPLE for BASE_TARGET. | |
const BET_MULTIPLE = 1.005; // Multiply bet by this value (1 = no increase) after each loss. | |
const BET_INCREASE = 0.1; // Increase bet by this flat amount after each loss. (Satoshis) | |
const TAR_MULTIPLE = 1; // Multiply target by this value (1 = no increase) on each loss. | |
const TAR_INCREASE = 0; // Increase target by this flat amount after each loss. | |
const MAX_WAGER = 5000 // Prevents script from placing bets larger than this amount.(Bits) |