Show HN: Stellar Jackpot
stellarjackpot.com
stellarjackpot.com
Oh, and for providing this service you automatically lose 2% off the top.
There are far better ways to waste your virtual disney dollars.
In this case, one guy just collects the money. No matter what his intentions or honesty, he collects.
If people want to throw him their "cash", fine... but they should absolutely realize what they are doing.
It seems the attention on hacker news drew quite some payments into the system, whereas I had thought that it would just stay in the play money range forever. The lottery aspect I hadn't thought about. I'm eager to transform the model to make it less lottery like as I certainly don't want to violate any laws, but am a bit unsure about exactly how. There could be a small chance that 100% of the money goes to a charity, or that there is somehow a matter of skill involved in the exact amount you send. (FYI, the only other piece of information that can be sent along with a Stellar payment is one 32-bit integer ID). Any suggestions are welcome.
You made a lottery. Nobody has to play. Do whatever you want with the money. Don't give it to charity because someone else told you to.
And finally, a website to directly address the problem that anonymous lottery operators have too little wealth, and credulous altcoin lottery players have too much.
It looks like a pretty simple app, which I doubt took too much time to put together, and is likely incredibly cheap to run. Assuming the most recent two hours are more representative of engagement than the previous two (not a given by any means, and no I haven't been tracking this before then), it looks like it's producing several hundred Stellars an hour minimum for the creators.
Stellars aren't worth much right now, and may never be (I'll leave that sort of speculation to those with more knowledge of the subject), but this seems like a cheap and quick way to build a stockpile.
Anyway, food for thought.
or give it to a charity, I think there are a few that have a stellar account, for example miri
Any mathematicians want to chime in?
EDIT: As fela, zck, and thedufer pointed out below, this would not work in fact. Thank you guys for the math lesson!
It's not a coincidence that this 2% is equal to the cut taken. That will always be your expected loss. Unless it does not behave as advertised, you can't game it.
Let's say that before you put anything in, the pot holds X stellar. You then put in Y stellar. So I'm assuming that you win with Y/(X+Y) probability. If you win, you win .98(X+Y). If you lose, you lose everything.
So your expected value is the chance you win (Y/(X+Y)) times the return (.98(X+Y)).
Y
--- * .98 * (X+Y)
X+Y
The (X+Y) parts cancel, and you end up with .98Y, or less than what you put in. And since we didn't use the fact that Y>X, it's independent from the actual values of X and Y, so it holds no matter what they are^1.[1] Assuming they're positive, and X+Y is nonzero.
> You don't have a 50% chance of winning 48%, you have a >50% chance of winning 98%.
You only win 48% in my model because the other 50% is your own money that you're getting back.
Anyway, let's do it generically. You have put in x of the money (more than 0.5 in your scenario, but it doesn't matter). Then there are two ways to formulate your expected return.
First, what I was doing before - if you lose, you lose x and if you win you win (.98-x). You have x chance of winning, so expected return is:
(1-x) chance of losing x + x chance of winning (.98-x)
(1-x) * -x + (.98-x) * x
(x-1 + .98-x) * x
-.02x
Alternatively, you initially give up x and then have x chance of winning the whole pot, .98:
give up x + x chance of winning .98
-x + .98x
-.02x
So either way, no matter what portion of the pot is yours, your expected return is to lose 2% of the money you put in.
This makes more sense when I use an absolute (100), I think my mistake was in trying to calculate 100 as a variable amount, I must've made an error there. Thanks for explaining :)
If you have x amount to spare, you could either put all x in one round, or spend x/N in N rounds.
I guess, the probability of winning might be optimal for some N > 1, but I am not able to come up with a formula for it.
Further optimisation of the N>1 strategy could be to stop entering into a round after winning and making a profit.
It depends what you are optimizing for. In most cases playing multiple times will make you win very slightly less in the median case, countered by the fact that you can win multiple jackpots (obviously not too likely an event)
And stopping strategies usually mean having a big probability of winning little but have a small chance of losing a lot. Basically a reverse lottery, but you still lose on average.