Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

casinos

0.5.0 • Public • Published

Casinos

Twitter Follow

Primedice

const { Primedice } = require('casinos')
 
let primedice = new Primedice('token')
await primedice.getUser()
await primedice.placeBet({
                coin: 'doge',
                amount: 0.00000001,
                target: 49.5,
                condition: 'above'
            })
await primedice.depositToVault({
                coin: 'doge',
                amount: 0.00000001 
            })

Wolfbet

const { Wolfbet } = require('casinos')
 
let wolfbet = new Wolfbet('token')
await wolfbet.getUser()
await wolfbet.placeBet({
                currency: 'doge',
                amount: 0.00000001,
                bet_value: 49.5,
                rule: 'under',
                multiplier: 2
            })
await wolfbet.getBalances()
await wolfbet.getBalance('doge')

Stake

const { Stake } = require('casinos')
 
let stake = new Stake('token')
await stake.getUser()
await stake.placeBet({
                coin: 'doge',
                amount: 0.00000001,
                target: 49.5,
                condition: 'above'
            })
await stake.depositToVault({
                coin: 'doge',
                amount: 0.00000001 
            })

Buy me a coffee

 btc: 1Kz3qnYyejUUQYM6z6WqJdSLRnuFFn4sQ6
doge: DSXYTGtzi31b2MeLn8y5RgcD4fiN5x9xsM
 eth: 0xB47adEe31A396B38876DdDdb30976c510283d94a
 bch: qps4cddu4cw9am0e8mtsw5xmrxx6pfyu9cfpm6chgg

Install

npm i casinos

DownloadsWeekly Downloads

2

Version

0.5.0

License

MIT

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • avatar