[Paper Review] Raziel: Private and Verifiable Smart Contracts on Blockchains
Raziel introduces a novel framework that combines secure multi-party computation (MPC) and proof-carrying code to enable private, verifiable, and formally verified smart contracts on blockchains. By leveraging zero-knowledge proofs of proofs and a mining-based pre-processing model, it prevents both DAO-style bugs and Gyges attacks, offering practical privacy and correctness guarantees for decentralized applications.
Raziel combines secure multi-party computation and proof-carrying code to provide privacy, correctness and verifiability guarantees for smart contracts on blockchains. Effectively solving DAO and Gyges attacks, this paper describes an implementation and presents examples to demonstrate its practical viability (e.g., private and verifiable crowdfundings and investment funds). Additionally, we show how to use Zero-Knowledge Proofs of Proofs (i.e., Proof-Carrying Code certificates) to prove the validity of smart contracts to third parties before their execution without revealing anything else. Finally, we show how miners could get rewarded for generating pre-processing data for secure multi-party computation.
Motivation & Objective
- To address the critical lack of privacy, correctness, and verifiability in existing blockchain smart contracts.
- To prevent intellectual property theft and malicious execution through formal verification and zero-knowledge proofs of proofs.
- To enable secure, private computation on blockchains without requiring trusted third parties.
- To provide a practical framework for deploying formally verified, confidential smart contracts in real-world decentralized applications.
- To incentivize miners to generate pre-processing data for MPC, aligning with blockchain economics.
Proposed method
- Integrates secure multi-party computation (MPC) to protect input and output privacy during smart contract execution.
- Employs proof-carrying code with mathematical proofs to verify functional correctness, termination, security, and invariants before execution.
- Utilizes non-interactive zero-knowledge proofs of proofs (ZKoP) to validate proofs without revealing underlying code or proof content.
- Proposes an outsourcing protocol for MPC that allows offline parties and reuse of encrypted parameters, reducing computational overhead.
- Introduces a novel mining model where miners are rewarded for generating pre-processing data for MPC, enhancing scalability.
- Combines MPC with formal verification to achieve end-to-end privacy and correctness guarantees in smart contract execution.
Experimental results
Research questions
- RQ1How can smart contracts be made both private and formally verifiable in a blockchain environment?
- RQ2Can zero-knowledge proofs of proofs be practically applied to verify smart contract properties without leaking sensitive information?
- RQ3How can MPC be efficiently integrated into blockchain systems to reduce execution costs and support offline participants?
- RQ4What economic incentives can be designed to encourage participation in MPC pre-processing, especially for miners?
- RQ5How can the framework prevent both DAO-style bugs and Gyges attacks in smart contract deployments?
Key findings
- Raziel successfully prevents the DAO attack by formally verifying smart contract properties such as correctness, termination, and invariants before execution.
- The framework mitigates Gyges attacks by enabling third-party verification of smart contract proofs without exposing the code or its logic.
- Zero-knowledge proofs of proofs are implemented in practice for general code properties, enabling trustless verification of formal proofs.
- The system supports offline parties and private parameter reuse in MPC, reducing the computational burden of secure computation.
- A novel mining model is proposed where miners generate pre-processing data for MPC, offering a sustainable economic model for MPC integration in blockchains.
- The framework enables practical deployment of private and verifiable smart contracts, demonstrated through real-world use cases like private crowdfundings and double auctions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.