Author

Topic: New Blockchain Lottery CryptoSanta (Read 219 times)

newbie
Activity: 1
Merit: 0
December 13, 2017, 08:06:21 AM
#1
CryptoSanta is a Christmas crypto lottery

When was the last time you were dreaming? Not thinking about tasks and goals, but dreaming - sincerely and heartily? Perhaps, it was a long time ago, in your childhood. It seems that there is no place for dreams in an adult life, we restrict our wishes by our opportunities, we choose practicality, but not what can really make us happy.
Even if we have enough money to buy what we were dreaming of in the childhood, we will unlikely do this. There are always more important things than our dream of getting a pilot license: our parents’ health, kids’ education, a roof over your head, savings for the future… We just can’t afford to spend a tidy sum for entertainment.
When somebody is asking what we want to get for Christmas, we usually ask for something practical. No wonder, that Christmas doesn’t give us neither joyful feelings, nor a pleasant thrill. It’s difficult to feel excitement and delight from something that is not our dream even of it is very useful.
To tell the truth, we will never buy ourselves or anyone else a real dream. We will never fulfill our dreams. Our rationality won’t let us do this. Perhaps, there is a chance to make our childhood dream come true and bring the Christmas spirit back.
This chance is  CryptoSanta.

What is CryptoSanta?

CryptoSanta is a new Christmas blockchain lottery where you could win your Dream spending just a small sum of money on a ticket. Unlike other lotteries, in CryptoSanta any participant can choose initially size of his prize, in the other words, he can choose the required sum for fulfilling his dream. Depending on the Dream size chosen, the program calculates the optimal number of tickets for the participant to buy to have high chances of winning. The participants are free to control their probability of win, purchasing larger or smaller number of tickets.
Purchasing of tickets is possible with two most popular cryptocurrencies: Bitcoins and Ethereum.
The lottery is absolutely anonymous, a participant should only specify his wallet’s code - this code will be used to identify winners.
The lottery starts on December 13th, 2017 and will end up with a drawing on December 24th, 2017 - on Christmas day.


Technical aspect of the project

Our lottery has 2 steps: 1. fund raising. 2. drawing in several stages and payouts
On the website of the lottery users could choose the cost if their dream out of 21-options. The following approach is used to transfer the information about the Dream to blockchain: user receives the address of Ethereum proxy-smart-contract which corresponds to the amount of the Dream. On the receipt of payment from the player by proxy-smart-contract, the amount paid is transferred to the main smart contract. Users are identified by the number of their wallets. The main smart-contract keeps the players’ wallet numbers, transferred amounts and the cost of their Dreams. Smart contracts are implemented on Solidity language. Ethereum blockchain transaction confirms the purchase of tickets.
Decision logic is implemented on the server in Java. After closing the contract for the pool building and before the drawing, the server receives from blockchain information on all users. Information on each participant includes the following: a number of tickets purchased, and the cost of the Dream. Then the server (using the smart contract) queries, and after it (using the same) receives 2 random numbers from Oraclize service. These are 32 random bytes. They are used as a seed for the random number generator. WELL (Well equidistributed long-period linear) algorithm is used for generating pseudo-random numbers.
Random numbers from Oraclize can be checked by any independent observer. After getting these numbers, the server holds a draw, which consists of several rounds, takes decisions on payouts to the participants and gives a command to smart-contracts to proceed the payments. Before the end of the lottery no payments to the participants via smart-contracts are possible. You can find the code of the server here: https://github.com/cryptosanta/cryptosanta


Give a Christmas miracle

CryptoSanta is a transparent and fair lottery with high probability of win.  It’s the best way to create a Christmas mood. You will feel again the excitement and festive impatience:  will Santa bring me a cherished gift? Do you remember how it was when you were a child? That is the reason why we used to love Christmas so much and were so excited waiting for this special day!
Do you want to bring this special mood back to your loved ones? Give them a chance to participate in the lottery where they could win their dream. Can you imagine how happy they will be that you remember about their cherished dreams and giving an opportunity to fulfill them! Probably, you will never have another chance to fulfill the dream of somebody you love and care about. Don’t miss this Christmas miracle!



Jump to: