Gambling as a dust solution

When emptying wallets using TC, there’s no way to transfer out any amount below 0.1 eth. DustDevil is a somewhat complicated solution proposal.

A simpler solution is to gamble with the dust. E.g. if you have ~0.05 eth, enter a lottery with a 50% chance of winning 0.1 eth. If you lose, your problem (money) is gone. If you win, you can privately deposit the 0.1 eth into TC as usual (need slightly more than 0.1 eth to cover fee of course).

Can anybody recommend a minimal, fair gambling dapp to facilitate the above? And if none exists, perhaps we could make one and add it to the TC interface. With a standard house advantage it could be a new source of revenue for the TC treasury.

PS: Another great, simple solution is to donate the dust to a worthy cause in a non-private transaction, if such a transaction is acceptable.

2 Likes

It’s not that hard to make your own zk-snark lottery with a random winner. You can make it more interesting. The larger the size of the dust have the higher the probability of winning.

The prize can be drawn when the Merkle tree is updated )

1 Like

A simpler solution is to gamble with the dust.

Interestingly, this idea has been explored before, as mentioned by @poma on this forum in another thread, by Gavin Andresen. He proposed a similar idea in Jan 2020 and even wrote some prototypical code for a Tornado Lottery called Thresher, based on this blog post.

The idea is that if you are mixing dust often enough, then probabilistically, you will win the anonymous lottery enough times that you would roughly win the same amount of dust you deposit. Effectively mixing your dust successfully.

Can anybody recommend a minimal, fair gambling dapp to facilitate the above?

Check out the Thresher codebase. Alternatively, as Gavin mentions in the blog post, it might also be possible to fork PoolTogether’s no loss lottery.

DustDevil is a somewhat complicated solution proposal.

As the author of the DustDevil proposal, I would just like to mention that it would technically be no more complicated than the current Tornado AP/TORN mining stack, which presumably everyone here is already using.

Additionally, a lottery comes with the risk of loss of funds, whereas DustDevils carry no risk of loss (except of course gas).

2 Likes