1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/tutorials/marketplace-publish-data-asset.md

72 lines
2.9 KiB
Markdown
Raw Normal View History

---
title: Publish a Data asset on Ocean Market place.
description:
---
2021-07-12 15:17:29 +02:00
## What can be published?
2021-07-28 23:04:35 +02:00
Ocean Market provides a convenient interface for individuals as well as organizations to publish their data. Data set can be images, location information, audio, video, sales data, or combinations of all! There is no exhaustive list of what type of data can be published on the Market. Please note that the Ocean Protocol team maintains a purgatory list [here](https://github.com/oceanprotocol/list-purgatory) to block addresses and remove assets for any violations.
2021-07-12 15:17:29 +02:00
## Tutorial
2021-07-12 15:44:20 +02:00
### Step 1 - Publish data asset
2021-07-12 15:17:29 +02:00
1. Go to https://market.oceanprotocol.com
2021-07-28 23:04:35 +02:00
2. Connect wallet.
2021-07-12 16:33:21 +02:00
![connect wallet](images/marketplace/connect-wallet.png 'Connect wallet')
2021-07-12 15:17:29 +02:00
3. Go to publish page.
2021-07-12 15:44:20 +02:00
2021-07-12 16:33:21 +02:00
![publish page](images/marketplace/publish.png 'Go to publish page')
2021-07-12 15:44:20 +02:00
2021-07-12 15:17:29 +02:00
4. Fill the publish form.
2021-07-12 16:33:21 +02:00
![publish form part-1](images/marketplace/publish-form-1.png 'Publish form part-1')
![publish form part-2](images/marketplace/publish-form-2.png 'Publish form part-2')
![publish form part-3](images/marketplace/publish-form-3.png 'Publish form part-3')
2021-07-12 15:17:29 +02:00
2021-07-28 23:04:35 +02:00
5. After clicking submit, approve the transactions in the wallet. Here, you can see Metamask window.
2021-07-12 15:44:20 +02:00
Deploy a new Datatoken contract.
2021-07-12 16:33:21 +02:00
![publish submit part-1](images/marketplace/submit-1.png 'Create Datatoken contract')
2021-07-12 15:44:20 +02:00
Contract interaction.
2021-07-12 16:33:21 +02:00
![publish submit part-2](images/marketplace/submit-2.png 'Contract interaction')
2021-07-12 15:44:20 +02:00
2021-07-28 23:04:35 +02:00
6. Now, after the transactions are completed, the below screen will appear.
2021-07-12 15:44:20 +02:00
![publish success](images/marketplace/submit-success.png 'Success')
### Step 2 - Create pricing
2021-07-28 23:04:35 +02:00
Once the data asset is published, the user(s) can choose the pricing option as per their choice. Only the publisher can set the pricing option and cannot be changed once the publisher selects any one method.
2021-07-12 16:33:21 +02:00
2021-07-12 15:44:20 +02:00
There are 2 options for settings the price of an asset on Ocean Marketplace.
1. Fixed pricing
2. Dynamic pricing (using Banalcer pools)
2021-07-12 16:33:21 +02:00
#### Create fixed pricing for a data set
2021-07-28 23:04:35 +02:00
Connect to the Ocean Marketplace with the publisher account and go to the published asset.
2021-07-12 16:33:21 +02:00
2021-07-28 23:04:35 +02:00
If the pricing is not set Marketplace will provide an option to create pricing. Click on the create pricing button as shown below.
2021-07-12 16:33:21 +02:00
![pricing part-1](images/marketplace/pricing-1.png 'Create pricing page')
Select the pricing type. Here, we are selecting **Fixed** pricing option. Publisher can set the value of datatoken with respect to Ocean Tokens.
![pricing part-1](images/marketplace/pricing-type.png 'Select pricing type')
![pricing part-2](images/marketplace/pricing-fixed-2.png 'Mint data tokens')
![pricing part-3](images/marketplace/pricing-fixed-3.png 'Transaction')
![pricing part-4](images/marketplace/pricing-fixed-4.png 'Approve spend limit')
2021-07-12 15:44:20 +02:00
2021-07-12 15:17:29 +02:00
## Video
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/KiDg0ry6oV4/0.jpg)](https://www.youtube.com/watch?v=KiDg0ry6oV4)
## Other Articles
https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43