[Paper Review] Privacy-Preserving P2P Energy Market on the Blockchain
This paper proposes two privacy-preserving architectures for decentralized peer-to-peer energy markets on permissioned blockchains, using either zero-knowledge proofs or trusted execution environments (TEEs) to prevent linkability between users' energy bids and their identities. The key contribution is enabling transparent, tamper-proof market settlements while ensuring that individual consumption profiles remain confidential, even on a public ledger.
Quartierstrom creates a peer-to-peer marketplace for locally generated solar power. The marketplace is implemented as a smart contract on a permissioned blockchain governed by all prosumers. Two privacy-by-design concepts are presented which guarantee that the users individual load profile is not leaked to any third party despite using a blockchain. The first approach leverages UTXO based coin mixing protocols in combination with an account-based on-chain smart contract. The second approach relies on an off-chain smart contract running in trusted execution environments.
Motivation & Objective
- To address the privacy risk in decentralized P2P energy markets where blockchain transactions can link energy bids to individual users' identities.
- To preserve market transparency and integrity—ensuring all trades are verifiable—while preventing leakage of personal consumption data.
- To enable privacy-preserving settlement in a decentralized energy market without relying on a trusted third party.
- To evaluate two distinct technical approaches: on-chain cryptographic mixing and off-chain trusted execution environments.
- To ensure compliance with GDPR by treating public keys as personal data due to linkability risks.
Proposed method
- Uses shielded addresses and coin-mixing protocols (e.g., via UTXO-based privacy techniques) to break linkability between successive bids on the blockchain.
- Employs zero-knowledge proofs or ring signatures to hide the origin of bids while allowing verification of bid validity on-chain.
- Deploys a network of trusted execution environments (TEEs) from multiple hardware vendors to run the auction logic off-chain, ensuring confidentiality and integrity.
- Uses a pBFT consensus among TEEs to prevent single points of failure and improve resilience against side-channel attacks.
- Establishes a shared secret via distributed key generation (DKG) among TEEs to enable secure, encrypted communication and market settlement.
- Introduces a blockchain-based registry for TEE attestation quotes, enabling decentralized and verifiable enrollment of auction enclaves.
Experimental results
Research questions
- RQ1How can a transparent, on-chain double auction for P2P energy trading preserve user privacy without compromising market integrity?
- RQ2To what extent can cryptographic techniques like zero-knowledge proofs or ring signatures prevent linkability between energy bids and individual users?
- RQ3Can trusted execution environments (TEEs) provide a viable alternative to on-chain cryptography for achieving privacy in decentralized energy markets?
- RQ4What are the trade-offs between on-chain privacy (e.g., ZK proofs) and off-chain trusted execution in terms of performance, trust assumptions, and decentralization?
- RQ5How can a decentralized, privacy-preserving energy market be designed to comply with GDPR when public keys are considered personal data?
Key findings
- The use of shielded addresses and coin-mixing protocols effectively breaks linkability between energy bids and their originators, even on a public blockchain.
- The integration of zero-knowledge proofs or ring signatures allows for private bidding while maintaining verifiability of trade outcomes on-chain.
- Off-chain execution in TEEs enables strong confidentiality and integrity guarantees, provided that multiple hardware vendors are used to mitigate side-channel attacks.
- A pBFT consensus among TEEs from different manufacturers enhances resilience and reduces trust in any single enclave.
- The distributed key generation (DKG) protocol enables secure, shared secret establishment among enclaves, supporting forward secrecy and secure encryption of bids.
- A blockchain-anchored registry of TEE attestation quotes enables decentralized, verifiable enrollment of auction enclaves without relying on a central authority.
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.