Bitcoin Forum

Economy => Gambling => Topic started by: Stunna on July 08, 2019, 06:51:19 AM



Title: Stake.com Crash seeding event
Post by: Stunna on July 08, 2019, 06:51:19 AM
Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.

To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. The last hash in the chain is: 78a9757d3be42b74a3f70239078ad9317125fe9ee630d5bdada46de963e56752

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 584,500

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

// 0.01 will result in 1% house edge with a lowest crashpoint of 1

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - 0.01))

blockHash used is Bitcoin block 584,500 which has not been mined at time of posting. Basically we are using the hash of a future bitcoin block as a client seed so players can be certain that we did not pick one in the house's favor. I'd appreciate it if someone could quote this post so this is all set in stone.

Excited to show you all Crash very soon!


Title: Re: Stake.com Crash seeding event
Post by: Stunna on July 08, 2019, 06:52:30 AM
Archived snapshot of post: http://archive.is/fhHxJ

Update:
Client seed has been mined!
Code:
0000000000000000001b34dc6a1e86083f95500b096231436e9b25cbdd0075c4
https://www.blockchain.com/btc/block-height/584500

https://stake.com/games/crash (https://stake.com/games/crash) WE ARE LIVE


Title: Re: Stake.com Crash seeding event
Post by: johnjimjack on July 08, 2019, 07:46:19 AM
Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.

To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. The last hash in the chain is: 78a9757d3be42b74a3f70239078ad9317125fe9ee630d5bdada46de963e56752

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 584,500

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

// 0.01 will result in 1% house edge with a lowest crashpoint of 1

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - 0.01))

blockHash used is Bitcoin block 584,500 which has not been mined at time of posting. Basically we are using the hash of a future bitcoin block as a client seed so players can be certain that we did not pick one in the house's favor. I'd appreciate it if someone could quote this post so this is all set in stone.

Excited to show you all Crash very soon!

Will do.
Excited about the new game. Thanks Stunna.


Title: Re: Stake.com Crash seeding event
Post by: jpcfan on July 08, 2019, 08:02:27 AM
stunna, you going to get into making dapps for PD and stake.

.


you should if you want make x3 more money then you do now



also use tron for your dapps. tron will be the leader in dapps


Title: Re: Stake.com Crash seeding event
Post by: chrizzbeatz on July 08, 2019, 08:09:29 AM
im very excited for this game to come to stake! :D


Title: Re: Stake.com Crash seeding event
Post by: SteveStake on July 08, 2019, 07:04:49 PM
Just quoting, Crash is going to be so much fun  :)

Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.

To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. The last hash in the chain is: 78a9757d3be42b74a3f70239078ad9317125fe9ee630d5bdada46de963e56752

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 584,500

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

// 0.01 will result in 1% house edge with a lowest crashpoint of 1

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - 0.01))

blockHash used is Bitcoin block 584,500 which has not been mined at time of posting. Basically we are using the hash of a future bitcoin block as a client seed so players can be certain that we did not pick one in the house's favor. I'd appreciate it if someone could quote this post so this is all set in stone.

Excited to show you all Crash very soon!


Title: Re: Stake.com Crash seeding event
Post by: Zicadis on July 08, 2019, 10:32:03 PM
Hi guys. I'd love to see Crash on Stake, I'll keep an eye out. But I have a question that might seem dumb. Can anyone point me to an article or post that describes the ins and outs of a seeding event? Things like what a secret is, why it is used, how the algorithm that converts game hashes to game results, or what the algorith even is? Or how a game maps to a hash in the chain and how does one verify the hash with the code you gave here?  I think a concise post regarding this would be  great for the average non techie like me to understand how provably fair games work.


Title: Re: Stake.com Crash seeding event
Post by: dark08 on July 08, 2019, 10:45:40 PM
Another exciting games (Crash) for stake.com keep up the good work Stunna and the whole team I will bookmark this thread for the update of this upcoming event I know people are really exciting for this one.


Title: Re: Stake.com Crash seeding event
Post by: adaseb on July 08, 2019, 10:52:06 PM
This probably won't happen because its rare, however what will you do if block 584,500 turns out to be an orphan.

So far in 2019 it looks like only there was 4 orphaned blocks but it does happen from time to time.
https://www.blockchain.com/btc/orphaned-blocks

So will the first valid block 584500 be the one with the true hash or the block which eventually gets included in the chain?


Title: Re: Stake.com Crash seeding event
Post by: robjobs on July 09, 2019, 01:05:24 AM
Looking to see how crash expected outcome will come out to Stunna! Good stuff.


Title: Re: Stake.com Crash seeding event
Post by: jazmuzika217 on July 09, 2019, 01:20:56 AM
I am one of many fan of stake.com because all we know that they already stand for their tag line that they is the fast growing online casino. But I think their good image was broke from the time that they bounty manager was change and break all campaign agreement between bounty campaign and bounty huntrers because there are so many bounty hunters was disappointed on that incident and issue.


Title: Re: Stake.com Crash seeding event
Post by: Stunna on July 09, 2019, 01:45:31 AM
This probably won't happen because its rare, however what will you do if block 584,500 turns out to be an orphan.

So far in 2019 it looks like only there was 4 orphaned blocks but it does happen from time to time.
https://www.blockchain.com/btc/orphaned-blocks

So will the first valid block 584500 be the one with the true hash or the block which eventually gets included in the chain?

It has been mined! and our client seed is in!!
Code:
0000000000000000001b34dc6a1e86083f95500b096231436e9b25cbdd0075c4

https://www.blockchain.com/btc/block-height/584500


Title: Re: Stake.com Crash seeding event
Post by: humbled_puritan on July 09, 2019, 05:02:16 AM
Hi guys. I'd love to see Crash on Stake, I'll keep an eye out. But I have a question that might seem dumb. Can anyone point me to an article or post that describes the ins and outs of a seeding event? Things like what a secret is, why it is used, how the algorithm that converts game hashes to game results, or what the algorith even is? Or how a game maps to a hash in the chain and how does one verify the hash with the code you gave here?  I think a concise post regarding this would be  great for the average non techie like me to understand how provably fair games work.

Hi there stake dev here,

Im thinking of posting a live coding video where i go through the system and explain the fairness. If there's interest and I get some time I will post it.

The basic idea of the hash chain is that each 'link' is the product of hashing the previous link. the sha256 algorithm is very common in programming and there are plenty sites/tools you can use to try it out.

the basic idea:

startingHash -> hash startingHash = hash1

hash hash1 = hash2

hash hash2 = hash3

etc...

so we did that 10 million times, and showed everyone the last hash in the chain (hash 10 million). Then once the first game has ended, and the hash for that game (hash 9,999,999) has been published you could hash that once and the result would be the original hash that we published on here. then after 1 million games you could get the hash for that game, hash it 1 million times and again you would have the original hash posted here.

Any way that's just a really quick and dirty explainer. ill post the video in this thread when i get round to making it.

cheers





Title: Re: Stake.com Crash seeding event
Post by: 7788bitcoin on July 09, 2019, 06:25:04 AM
Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.
Excited to show you all Crash very soon!
Really excited to see that you guys keep on innovating and come up with new games every time, you were settled with primedice for sometime and now stake with many games and options and now another one to keep the fans entertained and i hope you could make it the one stop shop for all gambling if you include sports book to it as i have heard that you are working on it but not seen any official confirmation regarding that.


Title: Re: Stake.com Crash seeding event
Post by: Stunna on July 11, 2019, 04:28:45 AM
Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.
Excited to show you all Crash very soon!
Really excited to see that you guys keep on innovating and come up with new games every time, you were settled with primedice for sometime and now stake with many games and options and now another one to keep the fans entertained and i hope you could make it the one stop shop for all gambling if you include sports book to it as i have heard that you are working on it but not seen any official confirmation regarding that.

That is my preferred choice of gamble. It's pretty close to completion but we want to make sure everything is perfectly polished, I'll have more news soon :)


Right now users are beta-testing Crash, we will have a full launch Monday!



Title: Re: Stake.com Crash seeding event
Post by: Drunk Uber Driver on July 11, 2019, 06:52:02 AM
One thread per site ONLY   does not apply for stake.com  ::)


Title: Re: Stake.com Crash seeding event
Post by: 1982dre on July 11, 2019, 08:10:34 AM
One thread per site ONLY   does not apply for stake.com  ::)

lol well its a special event so why not? Guess Ive seen also other sites with multiple topics when they had some event.


Title: Re: Stake.com Crash seeding event
Post by: Stunna on July 21, 2019, 12:38:41 PM
Crash went live last week :). Check it out here:  https://stake.com/games/crash
 (https://stake.com/games/crash)
Let me know what you think


Title: Re: Stake.com Crash seeding event
Post by: TheRocketman on July 22, 2019, 11:56:05 AM
good luck   :)


Title: Re: Stake.com Crash seeding event
Post by: lucasholder on April 01, 2020, 04:36:31 AM
Welcome to our seeding event for Crash launching in Beta this week. We are seeding it similarly to RHavar and others so it should be fairly straight forward.

To prove our fairness we have generated a chain of 10,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. The last hash in the chain is: 78a9757d3be42b74a3f70239078ad9317125fe9ee630d5bdada46de963e56752

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 584,500

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

// 0.01 will result in 1% house edge with a lowest crashpoint of 1

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - 0.01))

blockHash used is Bitcoin block 584,500 which has not been mined at time of posting. Basically we are using the hash of a future bitcoin block as a client seed so players can be certain that we did not pick one in the house's favor. I'd appreciate it if someone could quote this post so this is all set in stone.

Excited to show you all Crash very soon!

edit: nevermind... had a bug in my code.


Title: Re: Stake.com Crash seeding event
Post by: SHEKIMRAN on August 31, 2023, 11:24:37 AM
Archived snapshot of post: http://archive.is/fhHxJ

Update:
Client seed has been mined!
Code:
0000000000000000001b34dc6a1e86083f95500b096231436e9b25cbdd0075c4
https://www.blockchain.com/btc/block-height/584500

https://stake.com/games/crash (https://stake.com/games/crash) WE ARE LIVE