Skip to content

Bitcoin 10th anniversary party in TLV - provably fair raffle

Notifications You must be signed in to change notification settings

bitembassy/fair-rt-raffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Bitcoin 10th anniversary party in TLV - provably fair raffle

We are giving away a flight ticket to Tel Aviv and back, from anywhere in the world, to come join us for an epic Bitcoin 10th anniversary party on January 3rd.

To select a winner, on December 24th at 10AM UTC, we'll take a snapshot of the list of screen names who retweeted this tweet using the web archive (for this url).

update 24/12 12:10 - here is the archived link: https://web.archive.org/web/20181224100704/https://twitter.com/i/activity/retweeted_popup?id=1075797029555712007

On block #555256, around midnight that day, we'll HMAC-SHA256 each screen name using the hash of the block as the key, order the hashes lexicographically and the lowest hash wins!

Find out everything about the party on meetup.com or Facebook. The winner will be announced on Twitter.

An implementation of the code used to determine the winners order is available at raffle.js. It can be invoked as follows:

$ git clone https://github.com/bitembassy/fair-rt-raffle && cd fair-rt-raffle
$ npm install
$ node raffle.js <blockhash> <tweetid> <archive time>

For example:

$ node raffle.js 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 1074323991261782016 20181217212353

#1  293151d35d90f17b22a4ca8aafced9cb52e29c0df1aaa27a05255d18119b48b3  _drgo
#2  4ee31014ed751741e016662ae3d467483c7209c4bc904a940c65d80231571733  LamassuBTC
#3  55e21aa9404f7f26b096bc6d5f0a961757f9caf563dda9a86d413c4641fadebc  zysman
...
  • If the winner won't respond to us within 2 days or is otherwise unable to claim the prize, we'll go on to the next lowest hash, until we find someone who does.
  • The list of screen names will be determined by the web archive, even if different than what shows up on twitter.
  • In case the textual description of the algorithm results in different ordering than the code, the code wins.
  • If block #555256 is somehow mined before the snapshot, we will use block #555400 instead.

Hope to see you with us :) Good luck!!!

About

Bitcoin 10th anniversary party in TLV - provably fair raffle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published