Post
Topic
Board Gambling
Re: bustascript - Custom and designer scripts for bitcoin gambling sites
by
RGBKey
on 18/04/2018, 16:50:46 UTC
one would need to place multiple bets and thus recording past data comes at a risk


Sorry, I wasn't being clear. I mean just looking at the past games  (but not the times you played in the past). You can actually offline generate all the past games like this: https://jsfiddle.net/Dexon95/2fmuxLza/embedded/result/  where the only input is the game hash (which you can grab from the engine).  So when the script first runs, it can generate the past n games, and then keep that list incrementally up to date after each game bust event.


It's definitely an annoying and challenging script to write, but thought it'd be good to see how you guys do  Grin


Good luck!

I've been trying to do it myself as I was curious. I've run into a problem where I cannot take the SHA3-256 HMAC of something, or I am doing it wrong. window.crypto.subtle.importKey does not support SHA3 operations, and I'm having an incredible amount of trouble trying to use outside code (current was trying to use http://caligatio.github.com/jsSHA/ as an alternative, but cannot get it to work).