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:
parent
a948e87bb2
commit
5d7bcf00ce
@ -7,4 +7,4 @@ layout: landing
|
|||||||
|
|
||||||
# 👋 Welcome
|
# 👋 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>
|
||||||
|
13
SUMMARY.md
13
SUMMARY.md
@ -9,12 +9,13 @@
|
|||||||
* [Manage Your OCEAN Tokens](discover/wallets-and-ocean-tokens.md)
|
* [Manage Your OCEAN Tokens](discover/wallets-and-ocean-tokens.md)
|
||||||
* [Glossary](discover/glossary.md)
|
* [Glossary](discover/glossary.md)
|
||||||
* [FAQ](discover/faq.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)
|
* [📚 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)
|
* [Build a Marketplace](tutorials/build-a-marketplace/README.md)
|
||||||
* [Forking Ocean Market](tutorials/build-a-marketplace/forking-ocean-market.md)
|
* [Forking Ocean Market](tutorials/build-a-marketplace/forking-ocean-market.md)
|
||||||
* [Customising a Market](tutorials/build-a-marketplace/customising-your-market.md)
|
* [Customising a Market](tutorials/build-a-marketplace/customising-your-market.md)
|
||||||
@ -38,7 +39,7 @@
|
|||||||
* [Data Farming Background](rewards/df-background.md)
|
* [Data Farming Background](rewards/df-background.md)
|
||||||
* [Emissions & APYs](rewards/emissions-apys.md)
|
* [Emissions & APYs](rewards/emissions-apys.md)
|
||||||
* [Rewards Tutorial](rewards/veOcean-Data-Farming-Tutorial.md)
|
* [Rewards Tutorial](rewards/veOcean-Data-Farming-Tutorial.md)
|
||||||
* [👨💻 👨💻 Developers](developers/README.md)
|
* [👨💻 Developers](developers/README.md)
|
||||||
* [Core concepts](developers/core-concepts/README.md)
|
* [Core concepts](developers/core-concepts/README.md)
|
||||||
* [Architecture Overview](developers/core-concepts/architecture.md)
|
* [Architecture Overview](developers/core-concepts/architecture.md)
|
||||||
* [Data NFTs and Datatokens](developers/core-concepts/datanft-and-datatoken.md)
|
* [Data NFTs and Datatokens](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 Behavior
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
Here's an example.
|
Here's an example.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
description: Ocean Protocol - Tools for the Web3 Data Economy
|
description: Ocean Protocol - Tools for the Web3 Data Economy
|
||||||
cover: ../../.gitbook/assets/landing/rewards.png
|
cover: ../.gitbook/assets/landing/rewards.png
|
||||||
coverY: 0
|
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)
|
* [Architecture Overview](../developers/core-concepts/architecture.md)
|
||||||
* [Data NFTs and Datatokens](../developers/core-concepts/datanft-and-datatoken.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)
|
* [Publish a data asset](../how-tos/using-ocean-market/marketplace-publish-data-asset.md)
|
||||||
* [Download a data asset](../tutorials/using-ocean-market/marketplace-download-data-asset.md)
|
* [Download a data asset](../how-tos/using-ocean-market/marketplace-download-data-asset.md)
|
||||||
|
|
||||||
## What is our Mission?
|
## 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:
|
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)
|
* [Publish a data asset](../how-tos/using-ocean-market/marketplace-publish-data-asset.md)
|
||||||
* [Download a data asset](../tutorials/using-ocean-market/marketplace-download-data-asset.md)
|
* [Download a data asset](../how-tos/using-ocean-market/marketplace-download-data-asset.md)
|
||||||
* [Publishing with hosting services](../tutorials/using-ocean-market/asset-hosting.md)
|
* [Publishing with hosting services](../how-tos/using-ocean-market/asset-hosting.md)
|
||||||
|
|
||||||
### Build Your Own Data Market
|
### 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)
|
* [DID & DDO](../developers/core-concepts/did-ddo.md)
|
||||||
* [Roles](../developers/core-concepts/roles.md)
|
* [Roles](../developers/core-concepts/roles.md)
|
||||||
* [Set Up a Marketplace](../tutorials/build-a-marketplace/marketplace.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/)
|
* [Deploying components](../infrastructure/)
|
||||||
* [Contributing](../contribute/contributing.md)
|
* [Contributing](../contribute/contributing.md)
|
||||||
|
|
||||||
|
2
how-tos/README.md
Normal file
2
how-tos/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 📜 How to's
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
* [Ocean Market](https://market.oceanprotocol.com/) enables publishers to monetize their data and/or algorithms through blockchain technology.
|
* [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.
|
* Consumers can purchase access to data, algorithms, compute services.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The following guides will help you get started with buying and selling data:
|
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:
|
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)
|
* [Wallet Basics](../../tutorials/building-with-ocean/wallets.md)
|
||||||
* [Set Up MetaMask Wallet](../orientation/metamask-setup.md)
|
* [Set Up MetaMask Wallet](../../tutorials/orientation/metamask-setup.md)
|
||||||
* [Manage Your OCEAN Tokens](../building-with-ocean/wallets-and-ocean-tokens.md)
|
* [Manage Your OCEAN Tokens](../../tutorials/building-with-ocean/wallets-and-ocean-tokens.md)
|
||||||
|
|
||||||
### Removing Liquidity
|
### Removing Liquidity
|
||||||
|
|
@ -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.
|
Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below.
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Create a new storage account**
|
**Create a new storage account**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Fill in the details**
|
**Fill in the details**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Storage account created**
|
**Storage account created**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 2 - Create a blob container**
|
**Step 2 - Create a blob container**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Step 3 - Upload a file**
|
**Step 3 - Upload a file**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 4 - Share the file**
|
**Step 4 - Share the file**
|
||||||
|
|
||||||
**Select the file to be published and click Generate SAS**
|
**Select the file to be published and click Generate SAS**
|
||||||
|
|
||||||

|
.png>)
|
||||||
|
|
||||||
**Configure the SAS details and click `Generate SAS token and URL`**
|
**Configure the SAS details and click `Generate SAS token and URL`**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Copy the generated link**
|
**Copy the generated link**
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||
**Step 5 - Publish the asset using the generated link**
|
**Step 5 - Publish the asset using the generated link**
|
||||||
|
|
@ -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.
|
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.
|
3. Connect wallet.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```
|
```
|
||||||
In this tutorial, we will be using the Polygon Mumbai test network.
|
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.
|
The buy button is enabled only if the connected wallet address has enough OCEAN tokens to exchange them with 1 datatoken.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Step 2 - Allow access to OCEAN token(s)
|
#### Step 2 - Allow access to OCEAN token(s)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Step 3 - Buy a datatoken by exchanging it with OCEAN token(s)
|
#### Step 3 - Buy a datatoken by exchanging it with OCEAN token(s)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Step 4 - Click download
|
#### Step 4 - Click download
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Step 5 - Sign message
|
#### Step 5 - Sign message
|
||||||
|
|
||||||
After signing the message, the file download will start.
|
After signing the message, the file download will start.
|
||||||
|
|
||||||

|

|
115
how-tos/using-ocean-market/marketplace-publish-data-asset.md
Normal file
115
how-tos/using-ocean-market/marketplace-publish-data-asset.md
Normal 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
In this tutorial, we will be using the Polygon Mumbai test network.
|
||||||
|
|
||||||
|
3\. Go to the publish page.
|
||||||
|
|
||||||
|

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

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

|
||||||
|
|
||||||
|
#### 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).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### Step 4 - Preview
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### Step 5 - Blockchain transactions
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### Confirmation
|
||||||
|
|
||||||
|
Now, the asset is successfully published and available in the Ocean Market.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
@ -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.
|
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_.
|
3. On the pool contract page, go to _Contract_ -> _Read Contract_.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.
|
4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
5\. Copy this number as later you will use it as the `poolAmountIn` parameter.
|
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.
|
6\. Go to field `55. totalSupply` to get the total amount of pool shares, in wei.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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.
|
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.
|
8\. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
9\. Go to the field `5. exitswapPoolAmountIn`
|
9\. Go to the field `5. exitswapPoolAmountIn`
|
||||||
|
|
||||||
- For `poolAmountIn` add your pool shares in wei
|
* For `poolAmountIn` add your pool shares in wei
|
||||||
- For `minAmountOut` use anything, like `1`
|
* For `minAmountOut` use anything, like `1`
|
||||||
- Hit _Write_
|
* Hit _Write_
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
10\. Confirm transaction in Metamask
|
10\. Confirm transaction in Metamask
|
||||||
|
|
||||||

|

|
@ -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.
|
Also, select the region where you want Aquarius to be hosted and a root password.
|
||||||
|
|
||||||
.png>)
|

|
||||||
|
|
||||||

|

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

|
|
||||||
|
|
||||||
In this tutorial, we will be using the Polygon Mumbai test network.
|
|
||||||
|
|
||||||
3\. Go to the publish page.
|
|
||||||
|
|
||||||

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

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

|
|
||||||
|
|
||||||
#### 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).
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Step 4 - Preview
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Step 5 - Blockchain transactions
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Confirmation
|
|
||||||
|
|
||||||
Now, the asset is successfully published and available in the Ocean Market.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user