aftermath2 / btry

Accountless lottery powered by the Bitcoin Lightning Network
GNU Affero General Public License v3.0
3 stars 1 forks source link

Block based lotteries #26

Closed aftermath2 closed 5 months ago

aftermath2 commented 5 months ago

Description

Closes https://github.com/aftermath2/btry/issues/20.

Bases lotteries duration on a configured number of Bitcoin blocks, using the target height block hash bytes to generate the winning numbers. Users will be able to verify the results themselves and prove that the numbers weren't manipulated.