Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am 9900k on github.
  • I am mh187 (https://keybase.io/mh187) on keybase.
  • I have a public key ASCysUb3m3nEC156-RGcmGaRStuTnKi7dy7N4pYFouKISgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am 9900k on github.
  • I am enzo187 (https://keybase.io/enzo187) on keybase.
  • I have a public key ASAcB-BmIPXPqb3Jy9eh6MR71RaO-3ZnVYtc3H_4LepRRgo

To claim this, I am signing this object:

var config = {
baseBet: { label: "Base bet", type: "balance", value: 100 }, // how many satoshis to bet initially
target: { label: "Target", type: "multiplier", value: 2 }, // target multiplier
betMultiplier: { label: "Bet multiplier", type: "multiplier", value: 2 } // what to multiply the bet size by when we lose a wager
}
let lossCount = 0
this.log(`Starting martingale with a base bet of ${config.baseBet.value} satoshis.`)