Pay less for your privacy: towards cost-effective on-chain mixers
File(s)LIPIcs.AFT.2023.16.pdf (1.28 MB)
Published version
Author(s)
Wang, Zhipeng
Cirkovic, Marco
Le, Duc
Knottenbelt, William
Cachin, Christian
Type
Conference Paper
Abstract
On-chain mixers, such as Tornado Cash (TC), have become a popular privacy solution for many
non-privacy-preserving blockchain users. These mixers enable users to deposit a fixed amount of
coins and withdraw them to another address, while effectively reducing the linkability between these
addresses and securely obscuring their transaction history. However, the high cost of interacting
with existing on-chain mixer smart contracts prohibits standard users from using the mixer, mainly
due to the use of computationally expensive cryptographic primitives. For instance, the deposit cost
of TC on Ethereum is approximately 1.1m gas (i.e., 66 USD in June 2023), which is 53× higher than
issuing a base transfer transaction.
In this work, we introduce the Merkle Pyramid Builder approach, to incrementally build the
Merkle tree in an on-chain mixer and update the tree per batch of deposits, which can therefore
decrease the overall cost of using the mixer. Our evaluation results highlight the effectiveness of
this approach, showcasing a significant reduction of up to 7× in the amortized cost of depositing
compared to state-of-the-art on-chain mixers. Importantly, these improvements are achieved without
compromising users’ privacy. Furthermore, we propose the utilization of verifiable computations to
shift the responsibility of Merkle tree updates from on-chain smart contracts to off-chain clients,
which can further reduce deposit costs. Additionally, our analysis demonstrates that our designs
ensure fairness by distributing Merkle tree update costs among clients over time.
non-privacy-preserving blockchain users. These mixers enable users to deposit a fixed amount of
coins and withdraw them to another address, while effectively reducing the linkability between these
addresses and securely obscuring their transaction history. However, the high cost of interacting
with existing on-chain mixer smart contracts prohibits standard users from using the mixer, mainly
due to the use of computationally expensive cryptographic primitives. For instance, the deposit cost
of TC on Ethereum is approximately 1.1m gas (i.e., 66 USD in June 2023), which is 53× higher than
issuing a base transfer transaction.
In this work, we introduce the Merkle Pyramid Builder approach, to incrementally build the
Merkle tree in an on-chain mixer and update the tree per batch of deposits, which can therefore
decrease the overall cost of using the mixer. Our evaluation results highlight the effectiveness of
this approach, showcasing a significant reduction of up to 7× in the amortized cost of depositing
compared to state-of-the-art on-chain mixers. Importantly, these improvements are achieved without
compromising users’ privacy. Furthermore, we propose the utilization of verifiable computations to
shift the responsibility of Merkle tree updates from on-chain smart contracts to off-chain clients,
which can further reduce deposit costs. Additionally, our analysis demonstrates that our designs
ensure fairness by distributing Merkle tree update costs among clients over time.
Date Issued
2023-10-18
Date Acceptance
2023-07-29
Citation
Leibniz International Proceedings in Informatics, 2023, 282, pp.16:1-16:25
ISSN
1868-8969
Publisher
Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
Start Page
16:1
End Page
16:25
Journal / Book Title
Leibniz International Proceedings in Informatics
Volume
282
Copyright Statement
© Zhipeng Wang, Marko Cirkovic, Duc V. Le, William Knottenbelt, and Christian Cachin; licensed under Creative Commons License CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
License URL
Identifier
https://eprint.iacr.org/2023/1222
Source
5th ACM Conference on Advances in Financial Technologies (AFT 2023)
Publication Status
Published
Start Date
2023-10-23
Finish Date
2023-10-25
Coverage Spatial
Princeton University, Princeton, NJ, USA