Lotto XD - Weekly Burst lottery - 20 Winning Tickets
-
@zack Setting a name for it should fix the issue =)
-
@zack How the lottery generates the randomness? Is a smart contract?
@Propagandalf If so he may not change until the lottery does the first payout ;D
-
@gpedro So simple to just list all transactions made to the wallet during this week.
and randomly generate a number between 0 and Current jackpot Balancethen from transactions check that (Random number) in which transaction should it be... Fetch the Address .. Make a payment of 60% to that address wallet using the passphrase of the Jackpot wallet through api call.
Repeat and make a payment of 29%.
Repeat and make a payment of 10%.Simple .. but fair enough :)
-
@zack ok but is a smart contract or some other language code?
I think that when you generate a random number in a smart contract, it uses the nonce of the previous block as a randomly generating seed... I was asking what you used as this seed that generates randomness in your code or if it is a smart contract xD
-
@gpedro I'm using
php -- > mt_srand($seed);
the $seed is actually just a random generated string..... but i really do like the idea of yours .. looks way more better.. i'll just give it a try offline.. guess this will be way more random :D
also i guess it would be great to share the seed of the block nonce used each weak.i'll make sure to implement this asap, thanks :)
-
If you want to see how the lotto can be done through smart contracts on the blockchain check here:
https://github.com/antonyip/BurstAT/
-
@zack Entered yesterday. But when I want to calculate my % it says you own 0 tickets. Why's that?
-
@dk make sure that the payment is sent , then please make sure you use your right Burst address with no spaces ..
if it still doesn't work please let me know your burst wallet address so i can check from my side :).
-
Works now, but I don't know why. I've used the right address with no spaces, just like yesterday. So then let's see if I win something. But it isn't very likely, I only bought 2 tickets ;) And thanks for your quick answer.
-
The link in your signature goes to http://lotto.burstxd.com/ where I get an error, but if I manually go to http://burstxd.com/lotto/ I get to the right page! Also, it should say "weekly" burst lottery, not "weakly", hehe.
-
@zack time ran out. it supposed to announce winner and send burst?
-
@sayem314 me tells me missing two hours

-
i entered as well only gotten 9 tickets as i don't have much burst one never knows lol :)
-
@Energy 2hr passed already!
-
@sayem314 I do not know who the problem is but it tells me that it's 6 minutes

-
@zack do something about this issue!
-
and site is down again......
-
-
no just refresh, i thought it was down also initially it show just a blank white page, but after reloading just now it showed everything also previous round winners. Unfortunatly i did not win, but i must have had a very very low chanse with only 9 tickets
-
and winner announced/
2nd winner is zack himself!



