Author

Topic: LuckyBit bet verifier - Check that your bets are 100% provably fair! (Read 3257 times)

hero member
Activity: 706
Merit: 519
Official LuckyBit Support
LuckyBit bet verifier

LuckyBit - http://luckyb.it

More and more bitcoin gambling sites are being published, and often enough it's extremely hard to verify the claims about them being provably fair. In order to make this step easier for LuckyBit, we wrote a "bet verifier" that allows players to verify that their bets are 100% provably fair.


What is LuckyBit?

Quote from: BitcoinReviewer
LuckyBit is a Bitcoin gambling website that resembles the well-known game called Plinko. Bets take place “on the blockchain”, meaning that there is no need to create an account.

To play, all you must do is send BTC to a chosen address to place your bet, and the Bitcoin will fall into a designated area where you have a chance at winning up to 999x your initial bet. A neat feature is that you never lose all of your bet either. The minimum amount you’ll receive back from a bet is 0.2x your initial bet. This is an attractive feature, as you will never completely lose your initial bet.
Source: http://bitcoinreviewer.com/luckybit-review/

This is the main thread for LuckyBit: https://bitcointalksearch.org/topic/--322158


How does this work?

The bet verifier allows users to verify that their bets are 100% provably fair. Given a transaction id, the verifier computes locally the result of a bet. It uses trusted 3rd-party sources (http://blockchain.info) for this computation so that you can be sure that everything is 100% correct. The verifier then compares the locally computed outcome to the bet as processed by LuckyBit, using the LuckyBit API. It shows every step of this computation and warns the user when something is wrong.

Example output:



Why should I trust this?

It's open source - go read the code! The latest version of the bet verifier can always be found at

   https://github.com/LuckyBit/bet-verifier

See http://luckybit-api-docs.readthedocs.org/ for the API documentation.


Pre-compiled binary for Windows

You can download a pre-compiled binary for Windows here: http://luckyb.it/files/lb-bet-verifier.exe

Checksums:
Code:
md5 sum: 20fc7c99d49399bef0b89273dd2f861b
sha256 sum: 7f4d1351c8f0ddace7e0a63a53e446cf0a427db6d5e100347e366aa7e9b23434

How to use:
  • download file from http://luckyb.it/files/lb-bet-verifier.exe and save it into a directory
  • open a command prompt
  • go to the directory into which you've saved lb-bet-verifier.exe
  • check your bet by supplying its transaction id as a parameter

Example usage:
Code:
lb-bet-verifier.exe e9f65033e7d684143b7336429ef82fd5009a7decb72230dfc7d7e82a7e3092f8


Using the script directly

You can get the latest version of the script from https://github.com/LuckyBit/bet-verifier/blob/master/lb-bet-verifier.py

Prerequisites:

To run the script, no special prerequisites are required apart from python version 2.6-2.7.
The bet verifier is a command line script.  Access to the command line is
therefore required.

Usage:

1. Open a command line terminal.
2. Simply execute the script with a single parameter: the transaction ID of your bet.

Example (Windows):
Code:
python.exe lb-bet-verifier.py e9f65033e7d684143b7336429ef82fd5009a7decb72230dfc7d7e82a7e3092f8

Example (Linux/Mac):
Code:
python lb-bet-verifier.py e9f65033e7d684143b7336429ef82fd5009a7decb72230dfc7d7e82a7e3092f8

Let us know if there are any problems!
Happy checking! Wink



LuckyBit support - http://luckyb.it
Jump to: