Lune

CCS2019顶会

zkay: Specifying and Enforcing Data Privacy in Smart Contracts

Samuel Steffen, Benjamin Bichsel, Mario Gersbach, Noa Melchior, Petar Tsankov, Martin T. Vechev

摘要

Privacy concerns of smart contracts are a major roadblock preventing their wider adoption. A promising approach to protect private data is hiding it with cryptographic primitives and then enforcing correctness of state updates by Non-Interactive Zero-Knowledge (NIZK) proofs. Unfortunately, NIZK statements are less expressive than smart contracts, forcing developers to keep some functionality in the contract. This results in scattered logic, split across contract code and NIZK statements, with unclear privacy guarantees. To address these problems, we present the zkay language, which introduces privacy types defining owners of private values. zkay contracts are statically type checked to (i) ensure they are realizable using NIZK proofs and (ii) prevent unintended information leaks. Moreover, the logic of zkay contracts is easy to follow by just ignoring privacy types. To enforce zkay contracts, we automatically transform them into contracts equivalent in terms of privacy and functionality, yet executable on public blockchains. We evaluated our approach on a proof-of-concept implementation generating Solidity contracts and implemented 10 interesting example contracts in zkay. Our results indicate that zkay is practical: On-chain cost for executing the transformed contracts is around 1M gas per transaction ( 0.50US$) and off-chain cost is moderate.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ZeeStar: Private Smart Contracts by Homomorphic Encryption and Zero-knowledge Proofs 引用了 Arbitrum: Scalable, private smart contracts
  • ZeeStar: Private Smart Contracts by Homomorphic Encryption and Zero-knowledge Proofs 引用了 Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
  • Arbitrum: Scalable, private smart contracts 引用了 Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
  • Zapper: Smart Contracts with Data and Identity Privacy 引用了 ZeeStar: Private Smart Contracts by Homomorphic Encryption and Zero-knowledge Proofs
  • Zapper: Smart Contracts with Data and Identity Privacy 引用了 Arbitrum: Scalable, private smart contracts
  • Zapper: Smart Contracts with Data and Identity Privacy 引用了 Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
  • Behavioral simulation for smart contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Qanaat: A Scalable Multi-Enterprise Permissioned Blockchain System with Confidentiality Guarantees 引用了 Arbitrum: Scalable, private smart contracts
  • Understanding Solidity Event Logging Practices in the Wild 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts 引用了 Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. ZeeStar: Private Smart Contracts by Homomorphic Encryption and Zero-knowledge ProofsSamuel Steffen, Benjamin Bichsel, Roger Baumgartner, Martin T. VechevS&P 2022 · 64 次引用
  2. Qanaat: A Scalable Multi-Enterprise Permissioned Blockchain System with Confidentiality GuaranteesMohammad Javad Amiri, Boon Thau Loo, Divy Agrawal, Amr El AbbadiVLDB 2022 · 26 次引用
  3. Zapper: Smart Contracts with Data and Identity PrivacySamuel Steffen, Benjamin Bichsel, Martin T. VechevCCS 2022 · 17 次引用
  4. Behavioral simulation for smart contractsSidi Mohamed Beillahi, Gabriela F. Ciocarlie, Michael Emmi, Constantin EneaPLDI 2020 · 15 次引用
  5. Understanding Solidity Event Logging Practices in the WildLantian Li, Yejian Liang, Zhihao Liu, Zhongxing YuFSE 2023 · 13 次引用

它引用的 Paper9

  1. Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart ContractsAhmed E. Kosba, Andrew Miller, Elaine Shi, Zikai Wen 等S&P 2016 · 2,201 次引用
  2. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
  3. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
  4. Arbitrum: Scalable, private smart contractsHarry A. Kalodner, Steven Goldfeder, Xiaoqi Chen, S. Matthew Weinberg 等USENIX Security 2018 · 353 次引用
  5. Bolt: Anonymous Payment Channels for Decentralized CurrenciesMatthew Green, Ian MiersCCS 2017 · 281 次引用

相关 Paper

  1. AuditPay: Anonymous Payments with Controlled OversightElkana Tovey, Yossi Gilad, Aviv ZoharCCS 2026
  2. ZENO: A Type-based Optimization Framework for Zero Knowledge Neural Network InferenceBoyuan Feng, Zheng Wang, Yuke Wang, Shu Yang 等ASPLOS 2024 · 13 次引用
  3. Can advanced type systems be usable? An empirical study of ownership, assets, and typestate in ObsidianMichael J. Coblenz, Jonathan Aldrich, Brad A. Myers, Joshua SunshineOOPSLA 2020 · 15 次引用
  4. Taypsi: Static Enforcement of Privacy Policies for Policy-Agnostic Oblivious ComputationQianchuan Ye, Benjamin DelawareOOPSLA 2024 · 1 次引用
  5. Jigsaw: Doubly Private Smart ContractsSanjam Garg, Aarushi Goel, Dimitris Kolonelos, Rohit SinhaS&P 2026 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖