Create a new manifest!

Here, you can create a new lottery or drawing. We call the lottery details the "lottery manifest". First, let us know when you want the results to be available. We'll convert your time to a Bitcoin block, which will be published around that time. When that block is published, we'll use random numbers generated from it to conduct the lottery. Note that there will be a delay of a couple hours from your time until the block is published. This is to ensure that the block isn't published before your chosen time, since Bitcoin blocks aren't published at a constant rate.

After choosing the time, you'll see four options below. These describe the types of lotteries we currently support. Clicking on each one gives a thorough description. After you fill out all the details we'll take you to a page describing the lottery, where you'll be able to see the results once they're available. You can send the link or just the hash to other people, and they'll be able to see the results too. At the bottom of each option, you can see a summary of the lottery similar to how it will appear on the details page.

What date and time should the results be released after?

Date:
Time:

Here you can specify your own random nonce if you want, but we've already gone ahead and generated one you can use right away. Every time you load this page a new one is automatically generated. This is used when we extract random numbers from the Bitcoin block. Preferably, it should be a 128-bit number.

Random Nonce:

In this type of lottery, each person is equally likely to win. The default format is with numerical entries, but you can name the entries below.

Number of participants:
Number of winners:
Name participants (write the names separated by commas:)

OR

Add participants in a csv file:

Can entries win multiple times?:

In this type of lottery, the participants are given a random ordering.

Number of participants:
Name participants (write the names separated by commas:)

OR

Add participants in a csv file:

This manifest simply provides a 128-bit random number at the time specified.

You can specify a JavaScript script to select the lottery winners given the random bits extracted from the blockchain. Please allow the script to take the variable "extractedRandomBits". After calculating your results, please return an array containing the winners.



Add a manual script to process lottery results using the beacon randomness: