Next Article in Journal
Evolution of Mobile Communications in Turkey from Car Phones to 5G: A Technical Review of Base Station Antennas, Frequency Bands, Spectrum Allocation, and Network Infrastructure
Previous Article in Journal
Lightweight Bridge Crack Detection with YOLO-STCDE
Previous Article in Special Issue
Compression-Unimpaired Joint Encryption and Authentication for PIZ-Compressed OpenEXR HDR Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Privacy-Preserving Energy Trading on Blockchain with Matrix-Based Inner Product Encryption

Department of Electrical and Computer Engineering, Inha University, Incheon 22212, Republic of Korea
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(16), 3631; https://doi.org/10.3390/electronics15163631
Submission received: 1 July 2026 / Revised: 11 August 2026 / Accepted: 11 August 2026 / Published: 14 August 2026

Abstract

Blockchain-based peer-to-peer (P2P) energy trading enables prosumers to sell surplus electricity directly to one another without a central intermediary, but its open ledger reveals each participant’s bid price to every blockchain node, including the distribution system operator (DSO) that settles the trades. Prior work has addressed this concern by using inner product encryption (IPE) to encode each bid as a vector and perform matching directly over ciphertexts, yet the resulting pairing-based comparison and heavy on-chain heap restructuring still incur substantial gas costs. To resolve this issue, this paper proposes two orthogonal optimization methods. First, we replace the pairing-based IPE of the prior baseline with a matrix-based IPE, which substitutes pairing operations with matrix multiplication and a trace evaluation. This allows compact ternary encoding of integers and enables ciphertext entries to be packed into narrower Solidity integer types. Second, we introduce two heap-management policies: (i) the index-based heap, which exchanges integer indices instead of full ciphertexts during swaps, and (ii) the root-retention heap, which eliminates redundant heap restructuring under residual rebidding. Our performance analysis shows that the proposed optimization strategies substantially reduce the total gas consumption of the energy trading system compared with the pairing-based baseline, and the heap-management policies deliver consistent savings regardless of the underlying cryptographic primitive.
Keywords: peer-to-peer energy trading; blockchain; smart contract; inner product encryption; gas optimization; privacy-preserving matching peer-to-peer energy trading; blockchain; smart contract; inner product encryption; gas optimization; privacy-preserving matching

Share and Cite

MDPI and ACS Style

Park, M.-S.; Jeon, S.-Y.; Lee, M.-K. Privacy-Preserving Energy Trading on Blockchain with Matrix-Based Inner Product Encryption. Electronics 2026, 15, 3631. https://doi.org/10.3390/electronics15163631

AMA Style

Park M-S, Jeon S-Y, Lee M-K. Privacy-Preserving Energy Trading on Blockchain with Matrix-Based Inner Product Encryption. Electronics. 2026; 15(16):3631. https://doi.org/10.3390/electronics15163631

Chicago/Turabian Style

Park, Min-Seok, Seong-Yun Jeon, and Mun-Kyu Lee. 2026. "Privacy-Preserving Energy Trading on Blockchain with Matrix-Based Inner Product Encryption" Electronics 15, no. 16: 3631. https://doi.org/10.3390/electronics15163631

APA Style

Park, M.-S., Jeon, S.-Y., & Lee, M.-K. (2026). Privacy-Preserving Energy Trading on Blockchain with Matrix-Based Inner Product Encryption. Electronics, 15(16), 3631. https://doi.org/10.3390/electronics15163631

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop