On tornado.cash, the process is basically this:
- deposit to contract
- so does everyone else
- these are then in predefined buckets: 1 eth, 10 eth, 100 eth
- now, you have a big tumbler with many funds
- you are given an 'unlock code'
- sometime after awhile (longer is better) you return and use your unlock code and ethereum sends money to an address you choose
wonderful, but we can do it much better on Solana
enter https://github.com/glasseaters/hydra https://github.com/stratafoundation/strata
- we have a stratafoundation token with a wonderful lovely curve
- you buy some
- meh everyone buys some. they stake some
- next, a torn user will visit site, and deposit 1 or 10 or 100 sol
- it is literally a transfer into hydra holdingAccount, but they must do it thru the ui
- as it generates a Keypair for them in the browser and downloads json
- next, they just watch n wait
- n wait
- now, on a cron the authority
- runs an rng (I have closedsource chill)
- 33.3% of the users in a given bucket win the prize
- the authority checks the value of our strata token vs how much it needs, does quik maths magic, and at that (predetermined/random) time of day it
- stakes on behalf of
- distributes to these users, permissionlessly
- unstakes them
- occurs within 1-2 tx
- wonderful
- removes the lil pubkey from the thinger that tracks em
- w o w
The other ppl will certainly distribute on behalf of selves, 2
wonderful
w o w
such torn way better
bout to burn this motherfucker down like I'm Left Ey3
I hate markdown