How It Works

4.1 Deposit Phase

  1. A user generates a commitment (hashed secret).

  2. The user deposits funds into the mixer contract along with the commitment.

  3. The deposit is recorded on the blockchain in a Merkle tree.

4.2 Mixing Phase

  1. The mixer contract introduces fake transaction noise.

  2. Withdrawals are time-delayed to prevent transaction correlation.

  3. Funds are pooled, making it impossible to link deposits to withdrawals.

4.3 Withdrawal Phase

  1. The user generates a zero-knowledge proof that confirms ownership of the deposited funds.

  2. A nullifier hash is used to prevent double withdrawals.

  3. Funds are sent to a stealth address that is not linked to the depositor.

Last updated