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

117 lines
4.5 KiB
Markdown
Raw Normal View History

---
2022-04-14 11:17:34 +02:00
description: Tutorial to publish assets using the Ocean Market
---
2021-07-12 15:17:29 +02:00
# Publish a Data Asset
2021-07-12 15:17:29 +02:00
2022-07-03 12:47:26 +02:00
### What can be published?
2021-07-12 15:17:29 +02:00
2022-07-03 12:47:26 +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.
2022-04-07 22:45:27 +02:00
2022-07-03 12:47:26 +02:00
### Tutorial
2021-07-12 15:17:29 +02:00
2022-07-03 12:47:26 +02:00
#### Connect wallet and navigate to the publish page
2022-04-07 22:45:27 +02:00
2022-07-03 12:47:26 +02:00
1. Go to [Ocean Market](https://v4.market.oceanprotocol.com)
2022-07-05 17:18:11 +02:00
2. Connect wallet.
2021-07-12 15:17:29 +02:00
2022-07-19 11:55:44 +02:00
![Connect wallet](../.gitbook/assets/connect-wallet.png)
2022-04-07 22:45:27 +02:00
In this tutorial, we will be using the Polygon Mumbai test network.
2021-07-12 15:44:20 +02:00
2022-07-05 17:18:11 +02:00
3\. Go to the publish page.
2022-07-19 11:55:44 +02:00
![Publish page](../.gitbook/assets/publish.png)
2021-07-12 15:44:20 +02:00
2022-07-03 12:47:26 +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-07-03 12:47:26 +02:00
_Mandatory fields are marked with \*_
2022-07-03 12:47:26 +02:00
* **Asset type**\*
2022-07-03 12:47:26 +02:00
An asset can be a _dataset_ or an _algorithm_. The asset type cannot be changed after publication.
* **Title**\*
2022-07-03 12:47:26 +02:00
The descriptive name of the asset. This field is editable after the asset publication.
* **Description**\*
2022-07-03 12:47:26 +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.
* **Author**\*
2022-07-03 12:47:26 +02:00
The author of the asset. The author can be an individual or an organization. This field is editable after the asset publication.
* **Tags**
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +02:00
Tags help the asset to be discoverable. If not provided, the list of tags is empty by default.
2022-07-19 11:55:44 +02:00
![Asset metadata](../.gitbook/assets/publish-1.png)
2021-07-12 15:44:20 +02:00
2022-07-03 12:47:26 +02:00
#### Step 2 - Access details
2021-07-12 15:44:20 +02:00
2022-07-03 12:47:26 +02:00
_Mandatory fields are marked with \*_
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +02:00
* **Access Type**\*
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +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.
* **Provider URL**\*
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +02:00
Provider facilitates the asset download to buyers or for computing jobs and much more.
* **File**\*
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +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.
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +02:00
**Provider** encrypts this field before publishing the asset on-chain.
* **Sample file**
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +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.
2022-07-03 12:47:26 +02:00
**Provider** encrypts this field before publishing the asset on-chain.
* **Timeout**\*
2022-04-12 17:13:28 +02:00
2022-07-03 12:47:26 +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-07-19 11:55:44 +02:00
![Access details](../.gitbook/assets/publish-2.png)
2022-04-14 11:17:34 +02:00
2022-07-03 12:47:26 +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-07-19 11:48:43 +02:00
There are 2 pricing options for asset publication on Ocean Marketplace.
2021-07-12 15:44:20 +02:00
1. Fixed pricing
2022-07-19 11:48:43 +02:00
2. Free pricing
2022-04-07 22:45:27 +02:00
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.
For more information on the pricing models, please refer this [document](../core-concepts/asset-pricing.md).
For a deep dive into the fee structure, please refer to this [document](../core-concepts/fees.md).
2022-07-03 12:47:26 +02:00
2022-07-19 11:55:44 +02:00
![Asset pricing](../.gitbook/assets/publish-3.png)
2022-07-03 12:47:26 +02:00
#### Step 4 - Preview
2022-04-07 22:45:27 +02:00
2022-07-19 11:55:44 +02:00
![Preview](../.gitbook/assets/publish-4.png)
2021-07-12 15:44:20 +02:00
2022-07-03 12:47:26 +02:00
#### Step 5 - Blockchain transactions
2021-07-12 16:33:21 +02:00
2022-07-19 11:55:44 +02:00
![Transaction 1 - Deploy data NFT and datatoken](../.gitbook/assets/publish-5.png)
2021-07-12 16:33:21 +02:00
2022-07-19 11:55:44 +02:00
![Transaction 2 - Deploy data NFT and datatoken](../.gitbook/assets/publish-6.png)
2021-07-12 16:33:21 +02:00
2022-07-03 12:47:26 +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-07-19 11:55:44 +02:00
![Successful publish](../.gitbook/assets/publish-7.png)
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.
2022-07-03 12:47:26 +02:00
### Other Articles
https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43