When you deposit funds to tornado cash, you get a secret which is called "commitment". When you withdraw funds, you pass this secret, zk-Stark algorithm can detect which deposit belongs to this secret and you get your deposit.

My question is how this secret is safe? when you send the transaction, can't miner see the secret and execute a transaction using this safe key?

1 Answer 1


as we know starkware uses ZK, and actually, you do not need to show your secret to the validator to accept your transaction in ZK, it uses an interactive proof system to proof each transaction, the easiest way to understand ZK proof is HERE and for further understanding, you can read wiki.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.