2021-09-13 01:14:31 +02:00
---
2022-04-14 11:17:34 +02:00
title: Publish a Data asset on Ocean Marketplace.
description: Tutorial to publish assets using the Ocean Market
2021-09-13 01:14:31 +02:00
---
2021-07-12 15:17:29 +02:00
## What can be published?
2022-04-14 11:17:34 +02:00
Ocean Market provides a convenient interface for individuals and organizations to publish their data. Datasets 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 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-13 11:50:50 +02:00
2021-07-12 15:17:29 +02:00
## Tutorial
2022-04-12 17:13:28 +02:00
### Connecting wallet and navigating to the publish page
2022-04-07 22:45:27 +02:00
1. Go to < a href = "https://v4.market.oceanprotocol.com " target = "_blank" > Ocean Market</ a >
2021-07-12 15:17:29 +02:00
2021-07-28 23:04:35 +02:00
2. Connect wallet.
2022-04-07 22:45:27 +02:00
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
2022-04-14 11:17:34 +02:00
In this tutorial, we will be using the Rinkeby test network.
2022-04-07 22:45:27 +02:00
2022-04-14 11:17:34 +02:00
3. Go to the publish page.
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
![publish page ](images/marketplace/publish.png 'Publish page' )
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
### Step 1 - Metadata
2021-07-12 15:17:29 +02:00
2022-04-12 17:13:28 +02:00
Fill in the metadata.
2021-07-12 15:17:29 +02:00
2022-04-12 17:13:28 +02:00
_Mandatory fields are marked with < span style = "color: red;" > \*</ span > _
2022-04-12 16:22:11 +02:00
- **Asset type**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
An asset can be a _dataset_ or an _algorithm_ . The asset type cannot be changed after publication.
2022-04-12 16:22:11 +02:00
- **Title**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
The descriptive name of the asset. This field is editable after the asset publication.
2022-04-12 16:22:11 +02:00
- **Description**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
Description of the asset. Ocean Marketplace supports plain text and Markdown format for the description field. This field is editable after the asset publication.
2022-04-12 16:22:11 +02:00
- **Author**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
The author of the asset. The author can be an individual or an organization. This field is editable after the asset publication.
2022-04-12 16:22:11 +02:00
- **Tags**
2022-04-12 17:13:28 +02:00
2022-04-12 16:22:11 +02:00
Tags help the asset to be discoverable. If not provided, the list of tags is empty by default.
2022-04-14 11:17:34 +02:00
![publish part-1 ](images/marketplace/publish-1.png 'Asset metadata' )
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
### Step 2 - Access details
2021-07-12 15:44:20 +02:00
2022-04-12 17:13:28 +02:00
_Mandatory fields are marked with < span style = "color: red;" > \*</ span > _
- **Access Type**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
An asset can be a downloadable file or a compute service on which buyers can run their algorithm. Through **download** , buyers will be able to download the dataset. Through **compute** , buyers will be able to use the dataset in a compute-to-data environment.
2022-04-12 17:13:28 +02:00
- **Provider URL**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
Provider facilitates the asset download to buyers or for computing jobs and much more.
2022-04-12 17:13:28 +02:00
- **File**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
The direct URL of the dataset to be published. The file needs to be publicly accessible to be downloadable by buyers. If the file is hosted on services like Google Drive, the URL provided needs to point directly to the data asset file. Also, the file needs to have the proper permissions to be downloaded by anybody.
**Provider** encrypts this field before publishing the asset on-chain.
2022-04-12 17:13:28 +02:00
2022-04-14 11:17:34 +02:00
- **Sample file**
2022-04-12 17:13:28 +02:00
2022-04-14 11:17:34 +02:00
An optional field through which publishers provide a sample file of the dataset they want to publish. The buyers can access it before buying the dataset. This field is editable after the asset publication.
**Provider** encrypts this field before publishing the asset on-chain.
2022-04-12 17:13:28 +02:00
- **Timeout**< span style = "color: red;" > \*</ span >
2022-04-14 11:17:34 +02:00
This field specifies how long the buyer can access the dataset after the dataset is purchased. This field is editable after the asset publication.
2022-04-12 17:13:28 +02:00
2022-04-14 11:17:34 +02:00
![publish part-2 ](images/marketplace/publish-2.png 'Access details' )
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
### Step 3 - Pricing
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
The publisher needs to choose a pricing option for the asset before publishing the data asset. The pricing schema is not editable after the asset publication.
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
There are 3 pricing options for asset publication on Ocean Marketplace.
2021-07-12 15:44:20 +02:00
1. Fixed pricing
2021-10-26 11:37:56 +02:00
2. Dynamic pricing (using Balancer pools)
2022-04-07 22:45:27 +02:00
3. Free pricing
2022-04-14 11:17:34 +02:00
With the _fixed pricing_ schema, the publisher sets the price that buyers will pay to download the data asset.
With the _free pricing_ schema, the publisher provides an asset that is free to be downloaded by anyone.
With the _dynamic pricing_ schema, the publisher sets the asset price and creates a datatoken liquidity pool with an initial amount of OCEAN tokens.
The publisher can also change the **Swap Fee** of the liquidity pool.
For a deep dive into the fee structure, please refer to this [document ](https://docs.oceanprotocol.com/tutorials/marketplace-fees/ ).
2022-04-07 22:45:27 +02:00
2022-04-14 11:17:34 +02:00
![publish part-3 ](images/marketplace/publish-3.png 'Dynamic pricing' )
2021-07-12 15:44:20 +02:00
2022-04-14 11:17:34 +02:00
### Step 4 - Preview
2021-07-12 16:33:21 +02:00
2022-04-07 22:45:27 +02:00
![publish part-4 ](images/marketplace/publish-4.png 'Preview' )
2021-07-12 16:33:21 +02:00
2022-04-14 11:17:34 +02:00
### Step 5 - Blockchain transactions
2021-07-12 16:33:21 +02:00
2022-04-08 15:39:17 +02:00
![publish part-5 ](images/marketplace/publish-5.png 'Transaction 1 - Allow access to Ocean tokens' )
2022-04-12 15:01:22 +02:00
< br / >
2022-04-08 15:39:17 +02:00
![publish part-6 ](images/marketplace/publish-6.png 'Transaction 2 - Deploy data NFT and datatoken' )
2022-04-12 15:01:22 +02:00
< br / >
2022-04-08 15:39:17 +02:00
![publish part-7 ](images/marketplace/publish-7.png 'Transaction 3 - Publish DDO' )
2021-07-12 16:33:21 +02:00
2022-04-07 22:45:27 +02:00
### Confirmation
2021-07-12 16:33:21 +02:00
2022-04-14 11:17:34 +02:00
Now, the asset is successfully published and available in the Ocean Market.
2021-07-12 16:33:21 +02:00
2022-04-07 22:45:27 +02:00
![publish success ](images/marketplace/publish-8.png 'Successful publish' )
2021-07-12 16:33:21 +02:00
2022-04-14 11:17:34 +02:00
On the [profile page ](https://v4.market.oceanprotocol.com/profile ), the publisher has access to all his published assets.
2021-07-13 11:50:50 +02:00
## Other Articles
https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43