Bitcoin Forum
September 28, 2022, 09:44:46 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Slide seeding event - JacksClub.io  (Read 82 times)
JacksClub (OP)
Copper Member
Member
**
Offline Offline

Activity: 118
Merit: 80


View Profile WWW
July 18, 2022, 09:19:44 AM
Merited by LoyceV (4)
 #1

Hi Everyone,

Welcome to our seeding event for Slide.
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: afa3dfc17cc60a23b7aaa3daa9023f62097dc857733dbddf1d6ed6916cb19a99

The formula for generating the game result:
Code:
const slides = [...];
const gameHash = hashChain.pop()
const hmac = createHmac('sha256', gameHash);
// blockHash is the hash of bitcoin block 745,480
hmac.update(blockHash);
const hex = hmac.digest('hex').substr(0, 13);
const num = parseInt(hex, 16) / Math.pow(2, 52);
const int = Math.floor(num * slides.length);
const result = slides[ random ];

blockHash used is Bitcoin block 745,480 which has not been mined at time of posting. 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.

✨ JACKS CLUB - Bitcoin Casino ✨
                                    VIP Program                                   
💵 Low House Edge 🏆 Daily Contests 🤑 Free Faucet 🔸 Affiliate Program 🃏Progressive Jackpot
1664358286
Hero Member
*
Offline Offline

Posts: 1664358286

View Profile Personal Message (Offline)

Ignore
1664358286
Reply with quote  #2

1664358286
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
LoyceV
Legendary
*
Offline Offline

Activity: 2716
Merit: 12078


Thick-Skinned Gang Leader and Golden Feather


View Profile WWW
July 18, 2022, 09:24:51 AM
 #2

Quoting:
Welcome to our seeding event for Slide.
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: afa3dfc17cc60a23b7aaa3daa9023f62097dc857733dbddf1d6ed6916cb19a99

The formula for generating the game result:
Code:
const slides = [...];
const gameHash = hashChain.pop()
const hmac = createHmac('sha256', gameHash);
// blockHash is the hash of bitcoin block 745,480
hmac.update(blockHash);
const hex = hmac.digest('hex').substr(0, 13);
const num = parseInt(hex, 16) / Math.pow(2, 52);
const int = Math.floor(num * slides.length);
const result = slides[ random ];

blockHash used is Bitcoin block 745,480 which has not been mined at time of posting. 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.
The last block in my Bitcoin Core is currently block 745,472.

JacksClub (OP)
Copper Member
Member
**
Offline Offline

Activity: 118
Merit: 80


View Profile WWW
July 18, 2022, 02:29:33 PM
 #3

The block has been mined!

Code:
00000000000000000007ac0d06e3ffbabf415cb425a6f90ed814a70bb847aaeb
https://www.blockchain.com/btc/block/745480

The game is going live soon!
https://jacksclub.io/games/slide

✨ JACKS CLUB - Bitcoin Casino ✨
                                    VIP Program                                   
💵 Low House Edge 🏆 Daily Contests 🤑 Free Faucet 🔸 Affiliate Program 🃏Progressive Jackpot
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!