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 = { | |
baseBet: { label: "Bet", type: "balance", value: 300 }, | |
baseTarget: { label: "Target", type: "multiplier", value: 1.18 }, | |
betMultiplier: { label: "Multiplier", type: "multiplier", value: 1.5 }, | |
dropInsteadOfStopScript: { label: "Drop bet instead of stop script", type: "checkbox", value: true }, | |
stopGameAfterLoss: { label: "Stop game after loss", type: "number", value: 5 }, | |
changeSeed: { label: "Change seed after lose", type: "number", value: 9 }, | |
lossTarget: { label: "Lose target", type: "multiplier", value: 1.18 }, | |
lossRepeatTimes: { label: "Flat bet after lose repeat times", type: "number", value: 8 } | |
} |
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 = { | |
RiskHeader: { label: "Risk Modificators", type: "noop" }, | |
//**************************************************************** */ | |
RISK_FACTOR: { label: "Risk Factor", type: "multiplier", value: 1 }, | |
RISK_MULTIPLIER: { label: "Risk Multiplier", type: "multiplier", value: 0.001 }, | |
RISK_BASE: { label: "Risk Base", type: "multiplier", value: 1.0 }, | |
featuresHeader: { label: " Common Features", type: "noop" }, | |
//**************************************************************** */ | |
change_seed_next: { label: "Seed change", type: "number", value: 50000 }, |
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
/** | |
* purzi's Martingale bot V0.1 | |
*/ | |
const baseBet = 200 // how many satoshis to bet initially | |
const target = 2.75 // target multiplier | |
const betMultiplier = 1.7 // what to multiply the bet size by when we lose a wager | |
const maxBet = 200000 // Maximum bet in satoshis | |
var bet |
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 = {}; | |
var debug = false; | |
let history = engine.getState().history; | |
let busts = []; | |
let padding = Array(6).join(' '); | |
engine.on('GAME_ENDED', onGameEnded); | |
for (let i = 0; i < history.length; i++) { | |
busts.push(history[i].bust); |
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 = {}; | |
var baseBet = 1 * 100; // base bet in satoshis | |
var basePayout = 1.05; | |
var betMultiplier = 1.03; // bet multiplied on win | |
log('Script is running..'); | |
var currentBet = baseBet; | |
var betCountdown = 0; | |
engine.on('GAME_STARTING', onGameStarted); | |
engine.on('GAME_ENDED', onGameEnded); |
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 crypto = require("crypto") | |
function gameResult(seed, salt) { | |
const nBits = 52 // number of most significant bits to use | |
// 1. HMAC_SHA256(key=salt, message=seed) | |
const hmac = crypto.createHmac("sha256", salt) | |
hmac.update(seed) | |
seed = hmac.digest("hex") |
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
///////////////////////// PLACE V1 SCRIPT AT THE END OF THIS BLOCK ///////////////////////// | |
var config = {}; | |
var initialized = false; | |
function patchFunctions(debugging = false) { | |
if (!initialized) { | |
engine.placeBet = function (bet, multiplier, callback) { | |
engine.bet(bet, parseFloat(multiplier / 100)); | |
} | |
engine.getMaxBet = function () { |
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 = {}; | |
var sB = userInfo.balance, bB = sB / 100, bP = 127 / 100, cB = 0; | |
engine.on('GAME_STARTING', () => { | |
let lG = engine.history.first(); | |
if (lG.wager) { | |
if (lG.cashedAt) { | |
if (userInfo.balance > sB * 1.1) { | |
sB = userInfo.balance, bB = sB / 100, cB = bB; | |
} else cB *= 0.87; | |
} else cB *= 2; |
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
// Authors: beebo & HERPES | |
// tortoise.js - conservative bit acquisition mechanism | |
// version 2.0.1 | |
// Usage of this script constitutes acceptance of the follow terms | |
// Copyright 2017 beebo & HERPES | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
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 = 2 * 100 // how many satoshis to bet initially | |
const target = 9.09 // target multiplier | |
const betMultiplier = 1.7 // what to multiply the bet size by when we lose a wager | |
const MAX_BET = 7000 * 100 // maximum bet amount to stop script at (satoshis) | |
const MAX_GAMES = 50 // maximum number of games to play before stopping (set to -1 for unlimited) | |
const BET_SPEED = 2000 // time between bets in (ex 500 = 500ms = 0.5s) | |
let lossCount = 0 | |
this.log(`Starting martingale with a base bet of ${baseBet/100} bits.`) |
NewerOlder