Widely adopted blockchain-based fair data exchange protocol have the following problems in multi-party scenario: 1) in multi-buyer v.s. one seller scenario, the negotiation for data availability verification between the buyer and seller reduces transaction throughput greatly. Besides, malicious buyers can launch DoS attacks to prevent the seller from serving others by requiring lots of data availability proofs. 2) in multi-seller v.s. one buyer scenario where the buyer pays for the merged data of all sellers, current protocols treat this as multiple independent transactions, resulting in excessive on-chain costs. Moreover, current protocols neglect that data ownership establishment on-chain may be tampered since the registration info is in plaintext and submitted through the Internet.
This paper proposes multi-party non-interactive atomic fair data exchange protocol based on blockchain to solve the above problems, providing data confidentiality, transaction atomic fairness, data intellectual property right protection, and high efficiency. Specifically, we propose transparent zero knowledge proof-based data verification guaranteeing the data confidentiality and transaction fairness. With the proof computed once and used everywhere, transaction throughput is improved greatly and DoS attacks initiated by malicious buyers is prevented. Moreover, the agent representing multi-seller is introduced to reduce on-chain costs. Furthermore, two-stage on-chain ownership registration is proposed to prevent eavesdroppers from impersonating the owner. Finally, we implement a POC (Proof of Concept) of our protocol as the BADE (Blockchain-based multi-party non-interactive Atomic fair Data Exchange). Experiments show that, our throughput within 12 hours is 50 times that of existing solution\cite{ref10}. And in multi-seller scenario, the on-chain gas costs of our protocol is reduced by 19.9\%-30.5\% in different seller/buyer ratios. The fairness of data exchange is also ensured by extra gas costs of dishonest party.