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
const baseBet = 1 * 100 // how many satoshis to bet initially | |
const target = 1.75 // target multiplier | |
const betMultiplier = 3.06 // what to multiply the bet size by when we lose a wager | |
const MAX_BET = 2000 * 100 // maximum bet amount to stop script at (satoshis) | |
const MAX_GAMES = -1 // maximum number of games to play before stopping (set to -1 for unlimited) | |
const BET_SPEED = 500 // time between bets in (ex 500 = 500ms = 0.5s) | |
let lossCount = 0 | |
this.log(`Starting martingale with a base bet of ${baseBet/100} 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
var config = { | |
target: { value: '', type: 'text', label: 'User to follow' }, | |
}; | |
log('Script is running..'); | |
engine.on('BET_PLACED', (bet) => { | |
if (bet.uname == config.target.value) { | |
if (userInfo.balance < 100) { | |
log('You have a balance under 1 bit, you can not 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
var config = {}; | |
///////////////////// PLACE V1 SCRIPT INSIDE HERE ///////////////////// | |
// RIGHT HERE | |
///////////////////// PLACE V1 SCRIPT INSIDE HERE ///////////////////// | |
(e=>{e.placeBet=((a,t,s)=>{e.bet(a,parseFloat(t/100))}), | |
e.getMaxBet=(()=>userInfo.balance), e.getBalance=(()=>userInfo.balance), | |
e.getCurrentPayout=(()=>"IN_PROGRESS"!=e.gameState?null:100*e.bust), | |
e.lastGamePlayed=(()=>"NOT_PLAYED"!==e.lastGamePlay()),e.lastGamePlay=(()=>{ |
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.`) |
OlderNewer