Bitcoin Forum
November 10, 2024, 06:00:22 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Royse777's Covid-19 project follow-up: Lottery With Good Faith  (Read 283 times)
aliashraf (OP)
Legendary
*
Offline Offline

Activity: 1456
Merit: 1175

Always remember the cause!


View Profile WWW
April 28, 2020, 10:06:30 PM
Last edit: April 29, 2020, 01:34:06 PM by aliashraf
Merited by AB de Royse777 (18), Mbitr (1)
 #1

Hello everybody,

This is a follow-up for Royse's excellent topic about helping forum members with financial problems due to the novice coronavirus pandemic. Royse is working hard for establishing a trusted group of community members in charge of overseeing the fundraising process.

Meantime I'm trying to contribute by initiating a lottery with good faith here, please refer to the main thread for more discussions of any type, about the main idea which belongs to @Royse777 and stay focused on the lottery mechanism I'm proposing and avoid discussing anything other than this lottery proposal here, thank you all. Smiley

Before proceeding any more you need to understand that the financial transactions both for buying the tickets and paying to winners will be managed by the same project board that Royce is working on. I won't engage in transactions just helping out the main project as a volunteer!

Big picture
1- This is going to be a weekly lottery drawing and by weekly we mean every 1008 bitcoin blocks.

2- Bitcoin blockchain is used both as the source of randomness for drawing this lottery and as a sorting mechanism (with a minor twist) for assigning the ticket numbers.

3- It is not a fair lottery. The total income coming from ticket sale in each drawing is split among four pools:
  • 20% will go to the Mega Jackpot Pool for full match events.
  • 30% will go to the Proportional Pool which will be distributed among tickets proportional to their relative match
  • 20% will go to the Best Match Pool and will be awarded to the ticket(s) with the best match for the current drawing.
  • The remaining 30% will go to the Royce project just like a normal donation to be supervised by the board for supporting qualified forum members impacted by the pandemic.
This way, for each drawing round, half of the sales are re-distributed by drawing among the ticket owners, 20% is reserved for incentivizing future drawings and the remaining 30% will be donated to the Covid-19 Aid Project, proposed by Royse777.

How does it work?

A) Almost 24 hours before the bitcoin blockchain is expected to reach #Head block:
  • Starting a thread named "Covid-19 Aid: Lottery Drawing X", I'll sign and announce a hash value generated by sha256(SatoshiSeed|RandSeed) called SeedHash as well as #Head (the block height that will be considered the start point of the round) and #Tail (the block height that ends the round, typically 1008 blocks away from #Head). SatoshiSeed is an English phrase quoted from bitcoin's White Paper and RandSeed is a number between 0 and 10,000,000 represented in ASCI decimal comma separated format (like "3,476,990") both picked deliberately and randomly by me for each round as a temporary secret. They will be kept private during the round and will be disclosed and used as part of the drawing algorithm later.
  • The Royce Project Board will sign a message containing a (P2SH) bitcoin address, the Round Address, for selling tickets of each round, at the same time.
B) As a donor/player you are encouraged to participate in each drawing round by following this procedure:
  • 1- You send (a whole number of) between 1-100 mBTC to the (above mentioned) Round Address. Sending any amount more than 100 mBTC is considered as a direct donation to the initiative. IOW: a maximum of 100 tickets are allocated to each transaction, one for each 100,000 Satoshis, and the remaining satoshis, if any, will go to the donation wallet of the project).
  • 2-As soon as your transaction is included in the blockchain, using the basic property of bitcoin blockchain as a sorting mechanism for transactions,  I'll calculate your Raw Ticket Number(s) simply by starting from the last assigned Raw Ticket Number+1 up to the number of mBTCs you have paid; transactions are prioritized by the blockchain already.
  • 3- You claim the ownership of the tickets by sending me a signed message using the same key of (anyone of) spending input(s) of your transaction. I'll approve and forward your claim to the board immediately. You are free to announce your contribution in public as long as it is approved or select not to disclose it in public.
  • 4- For each Raw Ticket Number, RTN, Applicable Ticket Number, ATN, is calculated using RandSeed*, as: RTN = (ATN+RS) mod 10,000,000
    ATN is the number used for evaluating your ticket(s) in each drawing
* Please note that RS is not disclosed until the round is over.

C) Once #Tail is reached and six more blocks are piled-up we go to the drawing event as follows:
  • 1- I disclose both the SatoshiSeed and the RandSeed for the round, people are free to examine the consistency of the disclosed information with the SeedHash commitment I've made at the start.
  • 2- Raw Ticket Numbers, RTNs are mapped to Applicable Ticket Numbers, ATNs, using the above formula, and newly disclosed RS.
  • 3- The decimal representation of the four rightmost bytes of the #Head block hash considered as a little-endian unsigned integer is taken and another mod(10,000,000) operation is performed to generate the RoundKey.
  • 4- The round prizes are scheduled as follows:
    • The Mega JackPot is awarded to the ATN with a full 7 decimal digits Match with the RoundKey. The winner is excluded from the list.
    • The Best Match Pool goes to the ATN(s) with the largest number of matched rightmost decimal digits with the RoundKey. Note that the lucky winner of Mega Jackpot is already awarded her price and excluded from the list.
    • The Proportional Pool (30%) winners are selected as follows:
      • 25% of the Proportional Pool prize goes to ATNs with matching last 3 digits of the Round Key.
      • 50% of the untouched Proportional Pool prize goes to ATNs with matching last 2 digits of the RoundKey. The winner(s) of the previous step, if any, are excluded.
      • 100% of the untouched Proportional Pool prize goes to ATNS with matching last decimal digit of the RoundKey. The winner(s) of the previous step, if any, are excluded.
Summary
The bitcoin blockchain is used both as the source for random number generation and sorting lottery ticket numbers sold with an additional entropy designed to prevent very unlikely collision between pools/miners and players (a totally fictional situation for a lottery of this scale and a blockchain of bitcoin's scale  Cheesy).
Half of the money is re-distributed by luck to the buyers in each round, after deducting a 30% lion share for donating to the Royse's Covid-19 Aid Project under development, another 20% part goes to the jackpot which lasts until a 1/10,000,000 chance of a full match is hit by a lucky ticket buyer.




Grizman25
Jr. Member
*
Offline Offline

Activity: 98
Merit: 3


View Profile
April 28, 2020, 10:17:58 PM
 #2

How complicated it is ....
Mbitr
Legendary
*
Offline Offline

Activity: 2086
Merit: 1321


Bitcoin needs you!


View Profile
April 29, 2020, 08:11:51 AM
Merited by aliashraf (1)
 #3

 
How complicated it is ....
It is complicated ! The reason for this is to have complete transparency !
OP has done a fantastic job and I can tell has put a lot of thought into the process. Unfortunately on the forum there has been a history of scams and charities that have not fulfilled their obligations - intentionally or accidentally.
This system although complicated maintains as much trust as possible and kudos to the OP.

I’m in anyway and hopefully this will come to fruition . Well done Smiley
aliashraf (OP)
Legendary
*
Offline Offline

Activity: 1456
Merit: 1175

Always remember the cause!


View Profile WWW
April 29, 2020, 01:24:23 PM
 #4

How complicated it is ....
It is complicated ! The reason for this is to have complete transparency !
OP has done a fantastic job and I can tell has put a lot of thought into the process. Unfortunately on the forum there has been a history of scams and charities that have not fulfilled their obligations - intentionally or accidentally.
This system although complicated maintains as much trust as possible and kudos to the OP.

I’m in anyway and hopefully this will come to fruition . Well done Smiley
Thank you @Mbitr,
You are welcome to examine the proposal in details and help me with improving it.
Mbitr
Legendary
*
Offline Offline

Activity: 2086
Merit: 1321


Bitcoin needs you!


View Profile
April 30, 2020, 08:24:41 AM
 #5

How complicated it is ....
It is complicated ! The reason for this is to have complete transparency !
OP has done a fantastic job and I can tell has put a lot of thought into the process. Unfortunately on the forum there has been a history of scams and charities that have not fulfilled their obligations - intentionally or accidentally.
This system although complicated maintains as much trust as possible and kudos to the OP.

I’m in anyway and hopefully this will come to fruition . Well done Smiley
Thank you @Mbitr,
You are welcome to examine the proposal in details and help me with improving it.

To be honest you’ve done a great job Smiley
It does sound complicated when trying to explain the process , but once the process starts it will be super easy for the user. I can’t really improve on what you’ve done , but if it can be implemented I can promote it in as many parts of the forum as possible.
And as I said before - I’m in Smiley
AB de Royse777
Legendary
*
Offline Offline

Activity: 2660
Merit: 4140


Campaign Manager. My Telegram @Royse777


View Profile WWW
April 30, 2020, 09:18:30 AM
Merited by aliashraf (2)
 #6

aliashraf, I am so greatful to see your interest in here and the idea you laid out. I can not ask for more. Let's just hope that I can form a team or the least is to find an escrow (if forming a teams fails) for the funds and start it from this Monday.

My initial idea was to start collecting money or initiatives once there will be any application but lately I am thinking it won't be bad to have a reserved fund so if anyone needs then we can immediately aid them after verifying the legitimacy.

@Mbitr, for the buyers I do not see any complications there. All they have to do is to send the right amount from a wallet that they control.

PS: we have am awesome signature ready to be posted by the designer. Wait or it :-D

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
chirag6313
Newbie
*
Offline Offline

Activity: 640
Merit: 0


View Profile
May 01, 2020, 03:56:47 AM
 #7

Hello,

I think it is great thinking on this stage. People need it. I really appreciate your thought.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!