Datamarket is an open blockchain platform designed to enable anyone to create Data purchase or checkout pages on the FEVM network.
Decentralized exchanges, also known as DEXs, are peer-to-peer marketplaces where cryptocurrency traders make transactions directly without handing over management of their funds to an intermediary or custodian.
Existing data exchange platforms exist, like https://www.narrative.io/pricing, however either require long term commitments or having transactions mediated through a third party with high fees and staff overhead. With a tight pairing to Filecoin and support for deal-making, FEVM has the ability to support such native exchanges without introducing other networks or external bridges to facilitate storage.
Users create data pages which are purchase pages for secured IPFS datasets.
DataMarket is self-governing. If a bad or inaccurate dataset is uploaded and sold, a purchaser or potential purchaser can flag the dataset as being fraudulent. The dataset page is locked after three flags.
To ensure that the data provides user satisfaction, the owner of the listing is only paid out from the contract after three non-flagged successful sales, and each sale after that. This is done automatically via logic tied to the purchaseData
contract method which releases the funds on the contract after the third purchase.
Each dataset cannot be modified after it is posted, but the price can be updated by the owner and the listing can be marked as inactive. A new page should be created if a dataset needs to be changed - this protects the mutability and trust of data collections that have already been deployed.
Using FEVM smart contracts, DataMarket can:
FEVM: Serves as the primary smart contract network for the DataMarket application. FEVM enables fast and low-cost smart contract transactions that make it to deploy and interact with contracts in the field without heavy additional costs or time delays. Deployed DataContracts also enforce that the datasets be valid by enabling public users to flag suspicious listings.
IPFS: Record keeping and storage. IPFS is used as the main backend for all uploaded datasets attached to DataContracts. The url of the asset is provided to the user post-purchase.
WalletConnect: Serves as the wallet connector for authorizing DataMarket
contract deploys and enabling users to connect their wallets securely to the DataMarket application.
The following contract events are emitted and can be listened to externally.
PurchaseCompleted
: When a user completes the purchase on a data set page.
PageFlagged
: When a user flags a page as not having legitimate data.
DataMarket
application.