1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-10 20:00:14 +02:00
docs/content/tutorials/marketplace-publish-data-asset.md

63 lines
2.4 KiB
Markdown
Raw Normal View History

2021-07-12 15:17:29 +02:00
# Publish a Data asset on Ocean Market place.
## What can be published?
## 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
2. Conntect 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-12 15:44:20 +02:00
5. After clicking submit, approve the transcations in the wallet. Here, you can metamask window.
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
6. Now, after the transactions are completed, below screen will appear.
![publish success](images/marketplace/submit-success.png 'Success')
### Step 2 - Create pricing
2021-07-12 16:33:21 +02:00
Once the data asset is published, 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 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
Connect to the Ocean Marketplace with the publisher account and go the published asset.
If the pricing is not set Marketplace will provide an option to create a pricing. Click on the create pricing button as shown below.
![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)