This file contains hidden or 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 = 50; // Initial lowest possible bet to start with. (Satoshis) | |
const BASE_TARGET = 200.00; // 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; // Increase bet by this flat amount after each loss. (Satoshis) | |
const MAX_WAGER = 500 // Prevents script from placing bets larger than this amount.(Bits) | |
const STOP_ON_MAX = true; // Stop The script when MAX_WAGER is reached. | |
const RESET_ON_MAX = false; // Returns to base bet when MAX_WAGER is reached, |
This file contains hidden or 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) |
This file contains hidden or 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 hidden or 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
// Calculates the sum of the items in the array. | |
// The sum is the result of adding all the items together. | |
Array.prototype.sum = function(){ | |
return this.reduce((a, b) => a + b); | |
} | |
// Checks whether the specified item is present in the array. | |
Array.prototype.contains = function (item) { | |
return this.find(x => x === item) !== undefined; | |
} |
This file contains hidden or 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 hidden or 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 baseBet = 13 * 100; //13 // how many satoshis to bet | |
let target = 1.6; // target multiplier | |
let betMultiplier = 3.6; // what to multiply the bet by when we lose a wager | |
let targetMultiplier = 1; | |
const MAX_BET = 2500 * 100; // maximum bet amount to stop script at (satoshis) | |
const MAX_GAMES = -1; // max games before stopping (set to -1 for unlimited) | |
const BET_SPEED = 30; // time between bets in (ex 500 = 500ms = 0.5s) | |
const skipGames = async (num, untilMulti, reqMulti) => { |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |