1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

GITBOOK-27: Added how to's section

This commit is contained in:
Ana Loznianu 2023-05-04 16:33:48 +00:00 committed by gitbook-bot
parent a948e87bb2
commit 5d7bcf00ce
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
12 changed files with 162 additions and 167 deletions

View File

@ -7,4 +7,4 @@ layout: landing
# 👋 Welcome
<table data-view="cards"><thead><tr><th data-type="content-ref"></th><th></th><th data-hidden data-type="files"></th><th data-hidden data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="discover/discover.md">discover.md</a></td><td>Learn about Ocean Protocol's powerful data sharing capabilities and its potential to transform the way data is shared and monetized.</td><td></td><td></td><td><a href="discover/discover.md">discover.md</a></td><td><a href=".gitbook/assets/landing/ocean.png">ocean.png</a></td></tr><tr><td><a href="tutorials/">tutorials</a></td><td>Get 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.</td><td></td><td></td><td><a href="tutorials/">tutorials</a></td><td><a href=".gitbook/assets/landing/tutorials.png">tutorials.png</a></td></tr><tr><td><a href="rewards/">rewards</a></td><td>Discover 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.</td><td></td><td></td><td><a href="rewards/">rewards</a></td><td><a href=".gitbook/assets/landing/rewards.png">rewards.png</a></td></tr><tr><td><a href="developers/">developers</a></td><td>Whether 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.</td><td></td><td></td><td><a href="developers/">developers</a></td><td><a href=".gitbook/assets/landing/developers.png">developers.png</a></td></tr><tr><td><a href="infrastructure/">infrastructure</a></td><td>Learn 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.</td><td></td><td></td><td><a href="infrastructure/">infrastructure</a></td><td><a href=".gitbook/assets/landing/building-blocks.png">building-blocks.png</a></td></tr><tr><td><a href="contribute/contributing.md">contributing.md</a></td><td>Learn 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.</td><td></td><td></td><td><a href="contribute/contributing.md">contributing.md</a></td><td><a href=".gitbook/assets/landing/contribute.png">contribute.png</a></td></tr></tbody></table>
<table data-view="cards"><thead><tr><th data-type="content-ref"></th><th></th><th data-hidden data-type="files"></th><th data-hidden data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="discover/discover.md">discover.md</a></td><td>Learn about Ocean Protocol's powerful data-sharing capabilities and its potential to transform the way data is shared and monetized.</td><td></td><td></td><td><a href="discover/discover.md">discover.md</a></td><td><a href=".gitbook/assets/landing/ocean.png">ocean.png</a></td></tr><tr><td><a href="tutorials/">tutorials</a></td><td>Get 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.</td><td></td><td></td><td><a href="tutorials/">tutorials</a></td><td><a href=".gitbook/assets/landing/tutorials.png">tutorials.png</a></td></tr><tr><td><a href="rewards/">rewards</a></td><td>Discover 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.</td><td></td><td></td><td><a href="rewards/">rewards</a></td><td><a href=".gitbook/assets/landing/rewards.png">rewards.png</a></td></tr><tr><td><a href="developers/">developers</a></td><td>Whether 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.</td><td></td><td></td><td><a href="developers/">developers</a></td><td><a href=".gitbook/assets/landing/developers.png">developers.png</a></td></tr><tr><td><a href="infrastructure/">infrastructure</a></td><td>Learn 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.</td><td></td><td></td><td><a href="infrastructure/">infrastructure</a></td><td><a href=".gitbook/assets/landing/building-blocks.png">building-blocks.png</a></td></tr><tr><td><a href="contribute/contributing.md">contributing.md</a></td><td>Learn 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.</td><td></td><td></td><td><a href="contribute/contributing.md">contributing.md</a></td><td><a href=".gitbook/assets/landing/contribute.png">contribute.png</a></td></tr><tr><td><a href="how-tos/">how-tos</a></td><td>Whether 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.</td><td></td><td></td><td><a href="how-tos/">how-tos</a></td><td><a href=".gitbook/assets/landing/developers.png">developers.png</a></td></tr></tbody></table>

View File

@ -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)

View File

@ -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.

View File

@ -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)

2
how-tos/README.md Normal file
View File

@ -0,0 +1,2 @@
# 📜 How to's

View File

@ -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

View File

@ -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**

View File

@ -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)

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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