Abstract
Recent years have witnessed a rapid development of the platform economy, effectively addressing the trust dilemma between untrusted online buyers and merchants. However, malicious platforms can misuse users' funds and information, causing severe security concerns. Previous research efforts aimed at enhancing security often sacrificed performance, while those focusing on efficiency struggled to prevent fund and information misuse. This paper introduces SecurePay, a secure yet performant payment processing system. SecurePay is the first system to combine permissioned blockchain with central bank digital currency (CBDC) to ensure fund security, information security, and resistance to collusion. Our implementation demonstrates a throughput of 256.4 transactions per second (TPS) and an average latency of 4.29 seconds, achieving efficiency comparable to centralized systems with significantly improved security.
Introduction
In the modern platform economy, e-commerce giants act as escrow agents, holding buyer funds until delivery is confirmed. This centralized model introduces two critical vulnerabilities: fund security (platforms may misuse escrowed funds) and information integrity (centralized databases are prone to unilateral tampering). While blockchain-based alternatives exist, they often suffer from the "blockchain trilemma," trading off performance for decentralization or security. SecurePay addresses these issues by decoupling information processing from fund settlement, providing a robust escrow mechanism that is both transparent and efficient.
System Architecture and Methodology
SecurePay utilizes a dual-layer architecture to manage transactions without compromising speed or privacy:
- On-Chain (Permissioned Blockchain): Built on Hyperledger Fabric, this layer manages transaction metadata. A multi-party endorsement protocol requires digital signatures from the buyer, merchant, and bank, ensuring that order details cannot be forged or tampered with by a single party.
- Off-Chain (CBDC Network): Actual value transfer occurs via a CBDC system (based on OpenCBDC). CBDCs provide the stability of fiat currency with the programmability of digital assets. Smart contracts "lock" funds in an escrow wallet, releasing them only when the blockchain records successful delivery.
This separation of concerns ensures that the blockchain handles the proof of transaction while the dedicated CBDC network handles the value, optimizing for both trust and speed. Furthermore, the system preserves privacy by decoupling platform IDs from CBDC wallet IDs, preventing platforms from harvesting excessive financial data.
Performance Evaluation and Key Results
To validate SecurePay, we developed a full-scale implementation using Hyperledger Fabric v2.2.0 and OpenCBDC, tested on a distributed network of virtualized Ubuntu servers.
Throughput and Latency
SecurePay achieved a throughput of 256.4 TPS with an average latency of 4.29 seconds. While centralized systems still maintain a higher theoretical throughput (~774 TPS), SecurePay is orders of magnitude faster than existing decentralized escrow protocols like Bitcoin-based systems, which can take over two hours for confirmation.
Attack Resilience
The system was tested against "reshipping attacks" (where buyers falsely claim non-receipt) and settlement inconsistencies. SecurePay maintained integrity through a dispute phase requiring collateral from both the buyer and courier, making dishonest behavior financially irrational. Under these attack scenarios, throughput remained functional at 81–86 TPS despite the added computational load of dispute resolution.
Conclusion and Future Work
SecurePay demonstrates that the integration of permissioned blockchains and CBDCs can solve the trust dilemma of the platform economy without the performance penalties typical of decentralized systems. By moving escrow logic into neutral smart contracts, we eliminate the risk of intermediary fund misuse.
Future work will focus on optimizing smart contract logic and implementing batch signatures. These enhancements aim to process hundreds of transactions in a single block, potentially bringing SecurePay's throughput even closer to centralized industry standards.
Summary updated