2019 · 75 citations · 38 references
ComputingComputer ScienceCybersecurityContractsCryptographyFormal MethodsCryptographic Protocol DesignCryptographic ProtocolsPrivacy-preserving ProtocolsSecurity Protocol VerificationSmart ContractsZero-knowledge ProofsExecutable ContractsNon-interactive Zero-knowledge ProofsPrivacy-preserving ComputationPrivacy-preserving Smart ContractsProvable SecuritySmart Contract Programming LanguagesZero-knowledge Non-interactive ProofsZero-knowledge Proof Protocols
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.
38
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Ethereum: A Secure Decentralised Generalised Transaction Ledger
Gavin Wood · 2013 · 5.3K citations
Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
Ahmed E. Kosba, Andrew Miller, Elaine Shi et al. · 2016 · 2.2K citations
Zerocash: Decentralized Anonymous Payments from Bitcoin
Eli Ben Sasson, Alessandro Chiesa, Christina Garman et al. · 2014 · 1.9K citations · Full text