Forum rules
Bitcoin.com is not responsible for any of the gambling sites discussed here.
Users are responsible for their own losses on all bitcoin gambling sites.
If the gambling stops being fun, it's time to stop gambling.
nrk
Posts: 2
Joined: Tue Jul 05, 2016 7:21 am

Primedice - easy way to win bitcoins

Tue Jul 05, 2016 7:24 am

Image (CLICKABLE)

WHAT IS PRIMEDICE?

Primedice is the undisputed most popular and trusted bitcoin game in the world! Over the past three years we’ve provided well over a million users a reliable, quick, and simple way to play with their coins.

The game is simple, you enter in a bet, select a payout or win chance and hit roll dice. After you click roll a provably fair dice roll is generated and if the number falls within your green win region you win the bet. Sound easy enough? There’s no minimum bet, try claiming some free coins from the faucet to give it a go!

www.primedice.com JOIN US
Image

PROVABLY FAIR
Primedice offers state of the art verification which allows our users to check the integrity of every roll and confirm they are not manipulated. Our random numbers are generated through the use of two seeds, a server seed, and your client seed. The server seed is created before you specify your client seed, ensuring that a server seed purposely in our favor cannot be generated. Together, along with the nonce (# of bets made with seed pair), the seeds are used to create a provably fair roll number within the 0-99.99 range.

ROLL NUMBERS
To create a roll number, Primedice uses a multi-step process to create a roll number 0-99.99. Both client and server seeds and a nonce are combined with hmac-sha512(server_seed, client_seed-nonce) which will generate a hex string. The nonce is the # of bets you made with the current seed pair. First five characters are taken from the hex string to create a roll number that is 0-1,048,575. If the roll number is over 999,999, the proccess is repeated with the next five characters skipping the previous set. This is done until a number less than 1,000,000 is achieved. In the astronomically unlikely event that all possible 5 character combinations are greater, 99.99 is used as the roll number. The resulting number 0-999,999 is applied a modulus of 10^4, to obtain a roll number 0-9999, and divided by 10^2 to result a 0-99.99 number.

HOW TO VERIFY
You can use a third party tool to verify roll numbers or use the following Node.js script that recreates the proccess described above. It will output your roll number

Code: Select all

//the seed pair itself var clientSeed = "your client seed"; //dont forget to exclude the dash and the nonce!var serverSeed = "your server seed";//bet made with seed pair (excluding current bet)var nonce = 0;//crypto lib for hmac functionvar crypto = require('crypto');var roll = function(key, text) { //create HMAC using server seed as key and client seed as message var hash = crypto.createHmac('sha512', key).update(text).digest('hex'); var index = 0; var lucky = parseInt(hash.substring(index * 5, index * 5 + 5), 16); //keep grabbing characters from the hash while greater than while (lucky >= Math.pow(10, 6)) { index++; lucky = parseInt(hash.substring(index * 5, index * 5 + 5), 16); //if we reach the end of the hash, just default to highest number if (index * 5 + 5 > 128) { lucky = 99.99; break; } } lucky %= Math.pow(10, 4); lucky /= Math.pow(10, 2); return lucky;} console.log(roll(serverSeed, clientSeed+'-'+nonce));
.

nrk
Posts: 2
Joined: Tue Jul 05, 2016 7:21 am

Re: Primedice - easy way to win bitcoins

Sat Jul 30, 2016 8:58 am

bump

Return to “Gambling”

Who is online

Users browsing this forum: No registered users and 2 guests