API

Contracts

Usage

You can use any wallet to place bet through transferring tokens to above contracts.

quick start

#lottery
cleos -u https://eos.greymass.com transfer youraccount eoshashlotto "1 EOS" "-high-odd-[]-[]-[]-[]-[]-1654954945"

# dice
cleos -u https://eos.greymass.com transfer youraccount eoshashdices "1 EOS" "-under-49"

# slot
cleos -u https://eos.greymass.com transfer youraccount eoshashslots "0.35 EOS" "-1-35"

#bulls
cleos -u https://eos.greymass.com transfer youraccount eoshashbulls "1 EOS" "-1"

Memo pattern:

Lottery

${ref}-${high/low}-${odd/even}-[${0-9}]-[${0-9}]-[${0-9}]-[${0-9}]-[${0-9}]-${timestamp}

exmaple on chain: https://bloks.io/transaction/7461eb09266480e7a70d7aa0f26dde220d962ce29e66ce0e942e04eba9618f83

Dice

${ref}-${under/over}-${number}

example on chain: https://bloks.io/transaction/41ab96bb6f9345ac183e11b2a864224375666736419209b0af8bbfadf5323a3f

Slot

${ref}-${1/10/100}-${lines}

example on chain: https://bloks.io/transaction/f6ddc1eb6f981511818f34269dea91dbe550607d2a069ce5db1ee4f15f507201

Bulls

${ref}-${pos}

example on chain: https://bloks.io/transaction/c4000e8a13fd1166495e8358722a0d05d23d7afc57a054665fc4c47a7903cec7

Last updated