On-chain solution for private data exchange

How it works

Commitment

Seller commits to some computed property of the data they are selling.

Initiate Purchase

Buyer locks coin in escrow.

Finalize Purchase

Seller encrypts the data with the buyer's public key and submits a ZK proof verifying the data matches the commitment. If valid, the coin is redeemed.