From 5d7bcf00cecd73e76296f0853fe6e9ecabaf39c4 Mon Sep 17 00:00:00 2001 From: Ana Loznianu Date: Thu, 4 May 2023 16:33:48 +0000 Subject: [PATCH] GITBOOK-27: Added how to's section --- README.md | 2 +- SUMMARY.md | 13 +- .../core-concepts/datanft-and-datatoken.md | 2 +- discover/discover.md | 14 +- how-tos/README.md | 2 + .../using-ocean-market/README.md | 8 +- .../using-ocean-market/asset-hosting.md | 18 +-- .../marketplace-download-data-asset.md | 12 +- .../marketplace-publish-data-asset.md | 115 ++++++++++++++++ .../remove-liquidity-using-etherscan.md | 18 +-- infrastructure/setup-server.md | 2 +- .../marketplace-publish-data-asset.md | 123 ------------------ 12 files changed, 162 insertions(+), 167 deletions(-) create mode 100644 how-tos/README.md rename {tutorials => how-tos}/using-ocean-market/README.md (70%) rename {tutorials => how-tos}/using-ocean-market/asset-hosting.md (94%) rename {tutorials => how-tos}/using-ocean-market/marketplace-download-data-asset.md (64%) create mode 100644 how-tos/using-ocean-market/marketplace-publish-data-asset.md rename {tutorials => how-tos}/using-ocean-market/remove-liquidity-using-etherscan.md (71%) delete mode 100644 tutorials/using-ocean-market/marketplace-publish-data-asset.md diff --git a/README.md b/README.md index 02f655b0..1118d829 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ layout: landing # 👋 Welcome -
discover.mdLearn about Ocean Protocol's powerful data sharing capabilities and its potential to transform the way data is shared and monetized.discover.mdocean.png
tutorialsGet access to a wealth of tutorials and resources to help you get started with Ocean Protocol. Learn how to create and publish data assets, build data marketplaces, and more. Whether you're a beginner or an experienced user, there's something for everyone.tutorialstutorials.png
rewardsDiscover ways to earn rewards for contributing to the Ocean Protocol ecosystem. Explore bounty programs, grants, and other initiatives that can help you make an impact and earn recognition for your contributions.rewardsrewards.png
developersWhether you're building a dApp or integrating with the ecosystem, you'll find plenty of APIs, libraries, and other tools to help you get the job done.developersdevelopers.png
infrastructureLearn how to deploy your own components on the Ocean Protocol network. Discover how the platform leverages blockchain technology, decentralized storage, and other cutting-edge tools to enable secure and scalable data sharing.infrastructurebuilding-blocks.png
contributing.mdLearn how you can contribute to the growth and development of Ocean Protocol. Whether you're interested in community initiatives, open-source projects, or other opportunities, there are many ways to get involved and make a difference.contributing.mdcontribute.png
+
discover.mdLearn about Ocean Protocol's powerful data-sharing capabilities and its potential to transform the way data is shared and monetized.discover.mdocean.png
tutorialsGet access to a wealth of tutorials and resources to help you get started with Ocean Protocol. Learn how to create and publish data assets, build data marketplaces, and more. Whether you're a beginner or an experienced user, there's something for everyone.tutorialstutorials.png
rewardsDiscover ways to earn rewards for contributing to the Ocean Protocol ecosystem. Explore bounty programs, grants, and other initiatives that can help you make an impact and earn recognition for your contributions.rewardsrewards.png
developersWhether you're building a dApp or integrating with the ecosystem, you'll find plenty of APIs, libraries, and other tools to help you get the job done.developersdevelopers.png
infrastructureLearn how to deploy your own components on the Ocean Protocol network. Discover how the platform leverages blockchain technology, decentralized storage, and other cutting-edge tools to enable secure and scalable data sharing.infrastructurebuilding-blocks.png
contributing.mdLearn how you can contribute to the growth and development of Ocean Protocol. Whether you're interested in community initiatives, open-source projects, or other opportunities, there are many ways to get involved and make a difference.contributing.mdcontribute.png
how-tosWhether you're new to Ocean or just need a refresher on a particular task, the "How to's" section is a great resource for quickly finding the information step-by-step instructions for what you need.how-tosdevelopers.png
diff --git a/SUMMARY.md b/SUMMARY.md index b245ef82..f0584b5e 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -9,12 +9,13 @@ * [Manage Your OCEAN Tokens](discover/wallets-and-ocean-tokens.md) * [Glossary](discover/glossary.md) * [FAQ](discover/faq.md) +* [📜 How to's](how-tos/README.md) + * [Using Ocean Market](how-tos/using-ocean-market/README.md) + * [Publish a Data Asset](how-tos/using-ocean-market/marketplace-publish-data-asset.md) + * [Download a Data Asset](how-tos/using-ocean-market/marketplace-download-data-asset.md) + * [Publishing with Hosting Services](how-tos/using-ocean-market/asset-hosting.md) + * [Liquidity Pools \[deprecated\]](how-tos/using-ocean-market/remove-liquidity-using-etherscan.md) * [📚 Tutorials](tutorials/README.md) - * [Using Ocean Market](tutorials/using-ocean-market/README.md) - * [Publish a Data Asset](tutorials/using-ocean-market/marketplace-publish-data-asset.md) - * [Download a Data Asset](tutorials/using-ocean-market/marketplace-download-data-asset.md) - * [Publishing with Hosting Services](tutorials/using-ocean-market/asset-hosting.md) - * [Liquidity Pools \[deprecated\]](tutorials/using-ocean-market/remove-liquidity-using-etherscan.md) * [Build a Marketplace](tutorials/build-a-marketplace/README.md) * [Forking Ocean Market](tutorials/build-a-marketplace/forking-ocean-market.md) * [Customising a Market](tutorials/build-a-marketplace/customising-your-market.md) @@ -38,7 +39,7 @@ * [Data Farming Background](rewards/df-background.md) * [Emissions & APYs](rewards/emissions-apys.md) * [Rewards Tutorial](rewards/veOcean-Data-Farming-Tutorial.md) -* [👨💻 👨💻 Developers](developers/README.md) +* [👨💻 Developers](developers/README.md) * [Core concepts](developers/core-concepts/README.md) * [Architecture Overview](developers/core-concepts/architecture.md) * [Data NFTs and Datatokens](developers/core-concepts/datanft-and-datatoken.md) diff --git a/developers/core-concepts/datanft-and-datatoken.md b/developers/core-concepts/datanft-and-datatoken.md index 10815e87..308593ec 100644 --- a/developers/core-concepts/datanft-and-datatoken.md +++ b/developers/core-concepts/datanft-and-datatoken.md @@ -62,7 +62,7 @@ Ocean provides convenient methods to list ERC20 datatokens for sale, with fixed- ### High-Level Behavior -![High-Level Flow](../../.gitbook/assets/architecture/high-level-flow.png) +![High-Level Flow](<../../.gitbook/assets/architecture/high-level-flow (1).png>) Here's an example. diff --git a/discover/discover.md b/discover/discover.md index 4bf12fd1..51e713c0 100644 --- a/discover/discover.md +++ b/discover/discover.md @@ -1,6 +1,6 @@ --- description: Ocean Protocol - Tools for the Web3 Data Economy -cover: ../../.gitbook/assets/landing/rewards.png +cover: ../.gitbook/assets/landing/rewards.png coverY: 0 --- @@ -18,8 +18,8 @@ The following guides are a greate place to start if you are new to Ocean: * [Architecture Overview](../developers/core-concepts/architecture.md) * [Data NFTs and Datatokens](../developers/core-concepts/datanft-and-datatoken.md) -* [Publish a data asset](../tutorials/using-ocean-market/marketplace-publish-data-asset.md) -* [Download a data asset](../tutorials/using-ocean-market/marketplace-download-data-asset.md) +* [Publish a data asset](../how-tos/using-ocean-market/marketplace-publish-data-asset.md) +* [Download a data asset](../how-tos/using-ocean-market/marketplace-download-data-asset.md) ## What is our Mission? @@ -43,9 +43,9 @@ As a data scientist or AI practitioner, you can benefit from access to more data The following guides will help you get started with buying and selling data: -* [Publish a data asset](../tutorials/using-ocean-market/marketplace-publish-data-asset.md) -* [Download a data asset](../tutorials/using-ocean-market/marketplace-download-data-asset.md) -* [Publishing with hosting services](../tutorials/using-ocean-market/asset-hosting.md) +* [Publish a data asset](../how-tos/using-ocean-market/marketplace-publish-data-asset.md) +* [Download a data asset](../how-tos/using-ocean-market/marketplace-download-data-asset.md) +* [Publishing with hosting services](../how-tos/using-ocean-market/asset-hosting.md) ### Build Your Own Data Market @@ -123,7 +123,7 @@ If ou are looking to get to grips with the inner workings of Ocean, then you'll * [DID & DDO](../developers/core-concepts/did-ddo.md) * [Roles](../developers/core-concepts/roles.md) * [Set Up a Marketplace](../tutorials/build-a-marketplace/marketplace.md) -* [Compute-to-Data](../developers/core-concepts/compute-to-data) +* [Compute-to-Data](../developers/core-concepts/compute-to-data/) * [Deploying components](../infrastructure/) * [Contributing](../contribute/contributing.md) diff --git a/how-tos/README.md b/how-tos/README.md new file mode 100644 index 00000000..baa5081a --- /dev/null +++ b/how-tos/README.md @@ -0,0 +1,2 @@ +# 📜 How to's + diff --git a/tutorials/using-ocean-market/README.md b/how-tos/using-ocean-market/README.md similarity index 70% rename from tutorials/using-ocean-market/README.md rename to how-tos/using-ocean-market/README.md index b0dbc8b0..231cc74a 100644 --- a/tutorials/using-ocean-market/README.md +++ b/how-tos/using-ocean-market/README.md @@ -5,7 +5,7 @@ * [Ocean Market](https://market.oceanprotocol.com/) enables publishers to monetize their data and/or algorithms through blockchain technology. * Consumers can purchase access to data, algorithms, compute services. -![Ocean Market Landing Page](images/marketplace/marketplace-landing-page.png) +![Ocean Market Landing Page](../../tutorials/using-ocean-market/images/marketplace/marketplace-landing-page.png) The following guides will help you get started with buying and selling data: @@ -15,9 +15,9 @@ The following guides will help you get started with buying and selling data: If you are new to web3 and blockchain technologies then we suggest you first read these introductory guides: -* [Wallet Basics](../building-with-ocean/wallets.md) -* [Set Up MetaMask Wallet](../orientation/metamask-setup.md) -* [Manage Your OCEAN Tokens](../building-with-ocean/wallets-and-ocean-tokens.md) +* [Wallet Basics](../../tutorials/building-with-ocean/wallets.md) +* [Set Up MetaMask Wallet](../../tutorials/orientation/metamask-setup.md) +* [Manage Your OCEAN Tokens](../../tutorials/building-with-ocean/wallets-and-ocean-tokens.md) ### Removing Liquidity diff --git a/tutorials/using-ocean-market/asset-hosting.md b/how-tos/using-ocean-market/asset-hosting.md similarity index 94% rename from tutorials/using-ocean-market/asset-hosting.md rename to how-tos/using-ocean-market/asset-hosting.md index cc96216b..3af8938f 100644 --- a/tutorials/using-ocean-market/asset-hosting.md +++ b/how-tos/using-ocean-market/asset-hosting.md @@ -182,41 +182,41 @@ Create an account on [Azure](https://azure.microsoft.com/en-us/). Users might al Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below. -![Create a storage account - 1](../../.gitbook/assets/hosting/azure1.png) +![Create a storage account - 1](<../../.gitbook/assets/hosting/azure1 (1).png>) **Create a new storage account** -![Create a storage account - 2](<../../.gitbook/assets/hosting/azure2 (1).png>) +![Create a storage account - 2](../../.gitbook/assets/hosting/azure2.png) **Fill in the details** -![Add details](../../.gitbook/assets/hosting/azure3.png) +![Add details](<../../.gitbook/assets/hosting/azure3 (1).png>) **Storage account created** -![Storage account created](<../../.gitbook/assets/hosting/azure4 (1).png>) +![Storage account created](../../.gitbook/assets/hosting/azure4.png) **Step 2 - Create a blob container** -![Create a blob container](../../.gitbook/assets/hosting/azure5.png) +![Create a blob container](<../../.gitbook/assets/hosting/azure5 (1).png>) **Step 3 - Upload a file** -![Upload a file](<../../.gitbook/assets/hosting/azure6 (1).png>) +![Upload a file](../../.gitbook/assets/hosting/azure6.png) **Step 4 - Share the file** **Select the file to be published and click Generate SAS** -![Click generate SAS](../../.gitbook/assets/hosting/azure7.png) +![Click generate SAS](<../../.gitbook/assets/hosting/azure7 (1).png>) **Configure the SAS details and click `Generate SAS token and URL`** -![Generate link to file](<../../.gitbook/assets/hosting/azure8 (1).png>) +![Generate link to file](../../.gitbook/assets/hosting/azure8.png) **Copy the generated link** -![Copy the link](<../../.gitbook/assets/hosting/azure9 (1).png>) +![Copy the link](../../.gitbook/assets/hosting/azure9.png) **Step 5 - Publish the asset using the generated link** diff --git a/tutorials/using-ocean-market/marketplace-download-data-asset.md b/how-tos/using-ocean-market/marketplace-download-data-asset.md similarity index 64% rename from tutorials/using-ocean-market/marketplace-download-data-asset.md rename to how-tos/using-ocean-market/marketplace-download-data-asset.md index 0c8e11cc..c57233e4 100644 --- a/tutorials/using-ocean-market/marketplace-download-data-asset.md +++ b/how-tos/using-ocean-market/marketplace-download-data-asset.md @@ -10,7 +10,7 @@ description: Tutorial to download assets using Ocean Market 2. Search for the data asset. The Ocean Marketplace provides features to search the Data/Algorithms by text, and users can also sort the result by published date. 3. Connect wallet. -![Connect wallet](../.gitbook/assets/market/consume-connect-wallet.png) +![Connect wallet](../../tutorials/.gitbook/assets/market/consume-connect-wallet.png) ``` In this tutorial, we will be using the Polygon Mumbai test network. @@ -22,22 +22,22 @@ In this tutorial, we will be using the Polygon Mumbai test network. The buy button is enabled only if the connected wallet address has enough OCEAN tokens to exchange them with 1 datatoken. -![Buy](../.gitbook/assets/market/consume-1.png) +![Buy](../../tutorials/.gitbook/assets/market/consume-1.png) #### Step 2 - Allow access to OCEAN token(s) -![Transaction 1: Permissions to access OCEAN tokens](../.gitbook/assets/market/consume-2.png) +![Transaction 1: Permissions to access OCEAN tokens](../../tutorials/.gitbook/assets/market/consume-2.png) #### Step 3 - Buy a datatoken by exchanging it with OCEAN token(s) -![Transaction 2: Buy datatoken](../.gitbook/assets/market/consume-3.png) +![Transaction 2: Buy datatoken](../../tutorials/.gitbook/assets/market/consume-3.png) #### Step 4 - Click download -![Download asset](../.gitbook/assets/market/consume-4.png) +![Download asset](../../tutorials/.gitbook/assets/market/consume-4.png) #### Step 5 - Sign message After signing the message, the file download will start. -![Sign](../.gitbook/assets/market/consume-5.png) +![Sign](../../tutorials/.gitbook/assets/market/consume-5.png) diff --git a/how-tos/using-ocean-market/marketplace-publish-data-asset.md b/how-tos/using-ocean-market/marketplace-publish-data-asset.md new file mode 100644 index 00000000..e4a42eaf --- /dev/null +++ b/how-tos/using-ocean-market/marketplace-publish-data-asset.md @@ -0,0 +1,115 @@ +--- +description: Tutorial to publish assets using the Ocean Market +--- + +# Publish a Data Asset + +### What can be published? + +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. + +### Tutorial + +#### Connect wallet and navigate to the publish page + +1. Go to [Ocean Market](https://v4.market.oceanprotocol.com) +2. Connect wallet. + +![Connect wallet](../../tutorials/.gitbook/assets/market/marketplace-connect-wallet.png) + +In this tutorial, we will be using the Polygon Mumbai test network. + +3\. Go to the publish page. + +![Publish page](../../tutorials/.gitbook/assets/market/publish.png) + +#### Step 1 - Metadata + +Fill in the metadata. + +_Mandatory fields are marked with \*_ + +* **Asset type**\* + + An asset can be a _dataset_ or an _algorithm_. The asset type cannot be changed after publication. +* **Title**\* + + The descriptive name of the asset. This field is editable after the asset publication. +* **Description**\* + + 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**\* + + The author of the asset. The author can be an individual or an organization. This field is editable after the asset publication. +* **Tags** + + Tags help the asset to be discoverable. If not provided, the list of tags is empty by default. + +![Asset metadata](../../tutorials/.gitbook/assets/market/publish-1.png) + +#### Step 2 - Access details + +_Mandatory fields are marked with \*_ + +* **Access Type**\* + + 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**\* + + Provider facilitates the asset download to buyers or for computing jobs and much more. +* **File**\* + + 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. +* **Sample file** + + 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. +* **Timeout**\* + + This field specifies how long the buyer can access the dataset after the dataset is purchased. This field is editable after the asset publication. + +![Access details](../../tutorials/.gitbook/assets/market/publish-2.png) + +#### Step 3 - Pricing + +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. + +There are 2 pricing options for asset publication on Ocean Marketplace. + +1. Fixed pricing +2. Free pricing + +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](../../tutorials/core-concepts/asset-pricing.md). + +For a deep dive into the fee structure, please refer to this [document](../../tutorials/core-concepts/fees.md). + +![Asset pricing](../../tutorials/.gitbook/assets/market/publish-3.png) + +#### Step 4 - Preview + +![Preview](../../tutorials/.gitbook/assets/market/publish-4.png) + +#### Step 5 - Blockchain transactions + +![Transaction 1 - Deploy data NFT and datatoken](../../tutorials/.gitbook/assets/market/publish-5.png) + +![Transaction 2 - Deploy data NFT and datatoken](../../tutorials/.gitbook/assets/market/publish-6.png) + +#### Confirmation + +Now, the asset is successfully published and available in the Ocean Market. + +![Successful publish](../../tutorials/.gitbook/assets/market/publish-7.png) + +On the [profile page](https://v4.market.oceanprotocol.com/profile), the publisher has access to all his published assets. + +### Other Articles + +https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43 diff --git a/tutorials/using-ocean-market/remove-liquidity-using-etherscan.md b/how-tos/using-ocean-market/remove-liquidity-using-etherscan.md similarity index 71% rename from tutorials/using-ocean-market/remove-liquidity-using-etherscan.md rename to how-tos/using-ocean-market/remove-liquidity-using-etherscan.md index 811647cf..0bff9ce4 100644 --- a/tutorials/using-ocean-market/remove-liquidity-using-etherscan.md +++ b/how-tos/using-ocean-market/remove-liquidity-using-etherscan.md @@ -10,32 +10,32 @@ In previous versions of Ocean liquidity pools and dynamic pricing were supported 2. Click _View All_ and look for Ocean Pool Token (OPT) transfers. Those transactions always come from the pool contract, which you can click on. 3. On the pool contract page, go to _Contract_ -> _Read Contract_. -![Read Contract](../.gitbook/assets/liquidity/remove-liquidity-1.png) +![Read Contract](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-1.png) 4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei. -![Balance Of](../.gitbook/assets/liquidity/remove-liquidity-2.png) +![Balance Of](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-2.png) 5\. Copy this number as later you will use it as the `poolAmountIn` parameter. 6\. Go to field `55. totalSupply` to get the total amount of pool shares, in wei. -![Total Supply](../.gitbook/assets/liquidity/remove-liquidity-3.png) +![Total Supply](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-3.png) 7\. Divide the number by 2 to get the maximum of pool shares you can send in one pool exit transaction. If your number retrieved in former step is bigger, you have to send multiple transactions. 8\. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool. -![Write Contract](../.gitbook/assets/liquidity/remove-liquidity-4.png) +![Write Contract](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-4.png) 9\. Go to the field `5. exitswapPoolAmountIn` -- For `poolAmountIn` add your pool shares in wei -- For `minAmountOut` use anything, like `1` -- Hit _Write_ +* For `poolAmountIn` add your pool shares in wei +* For `minAmountOut` use anything, like `1` +* Hit _Write_ -![Remove Liquidity](../.gitbook/assets/liquidity/remove-liquidity-5.png) +![Remove Liquidity](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-5.png) 10\. Confirm transaction in Metamask -![Confirm Transaction](../.gitbook/assets/liquidity/remove-liquidity-6.png) +![Confirm Transaction](../../tutorials/.gitbook/assets/liquidity/remove-liquidity-6.png) diff --git a/infrastructure/setup-server.md b/infrastructure/setup-server.md index 9654f6fb..cf250bac 100644 --- a/infrastructure/setup-server.md +++ b/infrastructure/setup-server.md @@ -28,7 +28,7 @@ Select Ubuntu OS and choose a plan. The required CPU, Memory depends on the numb Also, select the region where you want Aquarius to be hosted and a root password. -![Select region](<../.gitbook/assets/server-setup/server-setup3 (1).png>) +![Select region](../.gitbook/assets/server-setup/server-setup3.png) ![Click create Droplet](../.gitbook/assets/server-setup/server-setup4.png) diff --git a/tutorials/using-ocean-market/marketplace-publish-data-asset.md b/tutorials/using-ocean-market/marketplace-publish-data-asset.md deleted file mode 100644 index fd146c0f..00000000 --- a/tutorials/using-ocean-market/marketplace-publish-data-asset.md +++ /dev/null @@ -1,123 +0,0 @@ ---- -description: Tutorial to publish assets using the Ocean Market ---- - -# Publish a Data Asset - -### What can be published? - -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. - -### Tutorial - -#### Connect wallet and navigate to the publish page - -1. Go to [Ocean Market](https://v4.market.oceanprotocol.com) -2. Connect wallet. - -![Connect wallet](../.gitbook/assets/market/marketplace-connect-wallet.png) - -In this tutorial, we will be using the Polygon Mumbai test network. - -3\. Go to the publish page. - -![Publish page](../.gitbook/assets/market/publish.png) - -#### Step 1 - Metadata - -Fill in the metadata. - -_Mandatory fields are marked with \*_ - -- **Asset type**\* - - An asset can be a _dataset_ or an _algorithm_. The asset type cannot be changed after publication. - -- **Title**\* - - The descriptive name of the asset. This field is editable after the asset publication. - -- **Description**\* - - 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**\* - - The author of the asset. The author can be an individual or an organization. This field is editable after the asset publication. - -- **Tags** - - Tags help the asset to be discoverable. If not provided, the list of tags is empty by default. - -![Asset metadata](../.gitbook/assets/market/publish-1.png) - -#### Step 2 - Access details - -_Mandatory fields are marked with \*_ - -- **Access Type**\* - - 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**\* - - Provider facilitates the asset download to buyers or for computing jobs and much more. - -- **File**\* - - 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. - -- **Sample file** - - 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. - -- **Timeout**\* - - This field specifies how long the buyer can access the dataset after the dataset is purchased. This field is editable after the asset publication. - -![Access details](../.gitbook/assets/market/publish-2.png) - -#### Step 3 - Pricing - -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. - -There are 2 pricing options for asset publication on Ocean Marketplace. - -1. Fixed pricing -2. Free pricing - -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). - -![Asset pricing](../.gitbook/assets/market/publish-3.png) - -#### Step 4 - Preview - -![Preview](../.gitbook/assets/market/publish-4.png) - -#### Step 5 - Blockchain transactions - -![Transaction 1 - Deploy data NFT and datatoken](../.gitbook/assets/market/publish-5.png) - -![Transaction 2 - Deploy data NFT and datatoken](../.gitbook/assets/market/publish-6.png) - -#### Confirmation - -Now, the asset is successfully published and available in the Ocean Market. - -![Successful publish](../.gitbook/assets/market/publish-7.png) - -On the [profile page](https://v4.market.oceanprotocol.com/profile), the publisher has access to all his published assets. - -### Other Articles - -https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43