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

GitBook: [#3] Add screenshots for removing liquidity

This commit is contained in:
Akshay Patel 2022-07-29 14:07:08 +00:00 committed by gitbook-bot
parent bf615e8aff
commit 40e5cbe7d4
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
17 changed files with 132 additions and 88 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

View File

@ -3,7 +3,7 @@ title: Publish assets using hosting services
description: Tutorial to publish assets using hosting services like Google Drive and Azure. description: Tutorial to publish assets using hosting services like Google Drive and Azure.
--- ---
# Publish assets using hosting services # Publishing with hosting services
### Overview ### Overview
@ -11,7 +11,7 @@ To publish assets on the Ocean Marketplace, publishers must provide a link(an UR
On Ocean Marketplace, a publisher must provide the link to the asset during publish step. Once the asset is published, this link cannot be changed. So, it is essential that the publisher correctly sets this field (shown in the below image). On Ocean Marketplace, a publisher must provide the link to the asset during publish step. Once the asset is published, this link cannot be changed. So, it is essential that the publisher correctly sets this field (shown in the below image).
![Publish - File URL field](../.gitbook/assets/marketplace-publish-file-field.png) ![Publish - File URL field](<images/marketplace/publish/marketplace-publish-file-field (1).png>)
### Hosting services ### Hosting services
@ -27,7 +27,7 @@ Open https://drive.google.com and upload the file you want to publish on the Oce
The file URL will be of the form `https://drive.google.com/file/d/<FILE-ID>/view?usp=sharing`, where the `<FILE-ID>` is the unique alphanumeric string. Verify if the URL is correct by entering it in a browser and check if the file is downloaded. The file URL will be of the form `https://drive.google.com/file/d/<FILE-ID>/view?usp=sharing`, where the `<FILE-ID>` is the unique alphanumeric string. Verify if the URL is correct by entering it in a browser and check if the file is downloaded.
![Google Drive link](../.gitbook/assets/publish-google-drive.png) ![Google Drive link](<images/marketplace/publish/publish-google-drive (1).png>)
**Step 2 - Create a downloadable link** **Step 2 - Create a downloadable link**
@ -41,7 +41,7 @@ Note the `<FILE-ID>` from step 1 and create a URL as below.
After creating a downloadable file URL, fill the `File*` field with the downloadable URL created in step 2. After creating a downloadable file URL, fill the `File*` field with the downloadable URL created in step 2.
![Publish - Google Drive file](../.gitbook/assets/publish-google-drive-2.png) ![Publish - Google Drive file](<images/marketplace/publish/publish-google-drive-2 (1).png>)
_Note: Google Drive allows only shared files to be downloaded, as shown in the above steps. The above method does not work with the shared folder. As a workaround, publishers can upload a zip of a folder and upload it as a file._ _Note: Google Drive allows only shared files to be downloaded, as shown in the above steps. The above method does not work with the shared folder. As a workaround, publishers can upload a zip of a folder and upload it as a file._
@ -61,47 +61,47 @@ 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.
![Create a storage account - 1](../.gitbook/assets/azure-1.png) ![Create a storage account - 1](images/marketplace/publish/azure-1.png)
**Create a new storage account** **Create a new storage account**
![Create a storage account - 2](../.gitbook/assets/azure-2.png) ![Create a storage account - 2](images/marketplace/publish/azure-2.png)
**Fill in the details** **Fill in the details**
![Add details](../.gitbook/assets/azure-3.png) ![Add details](images/marketplace/publish/azure-3.png)
**Storage account created** **Storage account created**
![Storage account created](../.gitbook/assets/azure-4.png) ![Storage account created](images/marketplace/publish/azure-4.png)
**Step 2 - Create a blob container** **Step 2 - Create a blob container**
![Create a blob container](../.gitbook/assets/azure-5.png) ![Create a blob container](images/marketplace/publish/azure-5.png)
**Step 3 - Upload a file** **Step 3 - Upload a file**
![Upload a file](../.gitbook/assets/azure-6.png) ![Upload a file](images/marketplace/publish/azure-6.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**
![Click generate SAS](../.gitbook/assets/azure-7.png) ![Click generate SAS](images/marketplace/publish/azure-7.png)
**Configure the SAS details and click `Generate SAS token and URL`** **Configure the SAS details and click `Generate SAS token and URL`**
![Generate link to file](../.gitbook/assets/azure-8.png) ![Generate link to file](images/marketplace/publish/azure-8.png)
**Copy the generated link** **Copy the generated link**
![Copy the link](../.gitbook/assets/azure-9.png) ![Copy the link](images/marketplace/publish/azure-9.png)
**Step 5 - Publish the asset using the generated link** **Step 5 - Publish the asset using the generated link**
Now, copy and paste the link in the Publish page in the Ocean Marketplace. Now, copy and paste the link in the Publish page in the Ocean Marketplace.
![Publish the file as an asset](../.gitbook/assets/azure-10.png) ![Publish the file as an asset](images/marketplace/publish/azure-10.png)
#### OneDrive #### OneDrive
@ -111,17 +111,17 @@ Create an account on [Microsoft](https://www.microsoft.com/en-us/microsoft-365/o
Go to [OneDrive](https://onedrive.live.com/) and upload the file to be published. Go to [OneDrive](https://onedrive.live.com/) and upload the file to be published.
![Upload a file](../.gitbook/assets/one-drive-1.png) ![Upload a file](images/marketplace/publish/one-drive-1.png)
**Step 2 - Get link** **Step 2 - Get link**
After the file is uploaded, right click on the file and click `Embed`, and copy the link. After the file is uploaded, right click on the file and click `Embed`, and copy the link.
![Get an embeddable link](../.gitbook/assets/one-drive-2.png) ![Get an embeddable link](images/marketplace/publish/one-drive-2.png)
Copy the highlighted content as shown in the below image: Copy the highlighted content as shown in the below image:
![Copy the iframe](../.gitbook/assets/one-drive-3.png) ![Copy the iframe](images/marketplace/publish/one-drive-3.png)
The copied content has the following format: The copied content has the following format:
@ -147,4 +147,4 @@ Enter the URL in the browser and verify if the file is downloaded correctly.
Copy and paste the link in the Publish page in the Ocean Marketplace. Copy and paste the link in the Publish page in the Ocean Marketplace.
![Publish the file as an asset](../.gitbook/assets/one-drive-4.png) ![Publish the file as an asset](images/marketplace/publish/one-drive-4.png)

View File

@ -1,10 +1,10 @@
--- ---
title: Forking Ocean Market title: Forking Ocean Market
description: Forking and customizing Ocean Market (Frontend)
featuredImage: images/creatures/mantaray/mantaray-full@2x.png featuredImage: images/creatures/mantaray/mantaray-full@2x.png
description: Forking and customizing Ocean Market (Frontend)
--- ---
# 🐟 Forking and customizing Ocean Market # Build a Marketplace
## Outcome ## Outcome
@ -20,10 +20,9 @@ Using Ocean Market is already a big improvement on the alternatives that are out
The tutorial covers: The tutorial covers:
- Forking and running Ocean Market locally * Forking and running Ocean Market locally
- Customising your fork of Ocean market * Customising your fork of Ocean market
- Quick deployment of Ocean Market * Quick deployment of Ocean Market
## Preparation ## Preparation
@ -31,20 +30,14 @@ The tutorial covers:
If youre completely unfamiliar with Ocean Market or web3 applications in general, you will benefit from reading these guides first: If youre completely unfamiliar with Ocean Market or web3 applications in general, you will benefit from reading these guides first:
- To use your clone of Ocean Market, youll need a [wallet](https://docs.oceanprotocol.com/tutorials/wallets/). We recommend [getting set up with metamask](https://docs.oceanprotocol.com/tutorials/metamask-setup/). * To use your clone of Ocean Market, youll need a [wallet](https://docs.oceanprotocol.com/tutorials/wallets/). We recommend [getting set up with metamask](https://docs.oceanprotocol.com/tutorials/metamask-setup/).
* Youll also need some [Ocean tokens on a testnet](https://docs.oceanprotocol.com/tutorials/wallets-and-ocean-tokens/) to use your marketplace.
- Youll also need some [Ocean tokens on a testnet](https://docs.oceanprotocol.com/tutorials/wallets-and-ocean-tokens/) to use your marketplace. * When you have the testnet tokens, have a go at [publishing a data asset](https://docs.oceanprotocol.com/tutorials/marketplace-publish-data-asset/) on Ocean Market.
* Run through the process of [consuming a data asset](https://docs.oceanprotocol.com/tutorials/marketplace-consume-data-asset/) on Ocean Market.
- When you have the testnet tokens, have a go at [publishing a data asset](https://docs.oceanprotocol.com/tutorials/marketplace-publish-data-asset/) on Ocean Market.
- Run through the process of [consuming a data asset](https://docs.oceanprotocol.com/tutorials/marketplace-consume-data-asset/) on Ocean Market.
**Required Prerequisites** **Required Prerequisites**
- Git. Instructions for installing Git can be found [here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). * Git. Instructions for installing Git can be found [here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
* Node.js can be downloaded from [here](https://nodejs.org/en/download/) (were using version 16 in this guide)
- Node.js can be downloaded from [here](https://nodejs.org/en/download/) (were using version 16 in this guide) * A decent code editor, such as [Visual Studio Code](https://code.visualstudio.com/).
* Youll need a Github account to fork Ocean market via [Github](https://github.com/).
- A decent code editor, such as [Visual Studio Code](https://code.visualstudio.com/).
- Youll need a Github account to fork Ocean market via [Github](https://github.com/).

View File

@ -2,11 +2,11 @@
title: Deployment of Ocean Market title: Deployment of Ocean Market
order: 3 order: 3
hideLanguageSelector: true hideLanguageSelector: true
description: Step by step guide to a quick deployment of Ocean Market
featuredImage: images/creatures/mantaray/mantaray-full@2x.png featuredImage: images/creatures/mantaray/mantaray-full@2x.png
description: Step by step guide to a quick deployment of Ocean Market
--- ---
# 🔰 Quick deployment of Ocean Market # Deploying your market
All thats left is for you to host your data marketplace and start sharing it with your future users. All thats left is for you to host your data marketplace and start sharing it with your future users.

View File

@ -9,7 +9,7 @@ description: Data NFTs and datatokens architecture
Here is the Ocean architecture. Here is the Ocean architecture.
![Ocean Protocol tools architecture](../.gitbook/assets/architecture.png) ![Ocean Protocol tools architecture](<images/architecture (1).png>)
Heres an overview of the figure. Heres an overview of the figure.
@ -44,7 +44,7 @@ Once someone has generated datatokens, they can be used in any ERC20 exchange, c
The marketplaces are decentralized (no single owner or controller), and non-custodial (only the data owner holds the keys for the datatokens). The marketplaces are decentralized (no single owner or controller), and non-custodial (only the data owner holds the keys for the datatokens).
Ocean Market supports fixed pricing or free pricing. For more detials on pricing schema refer [this guide](./asset-pricing.md). Ocean Market supports fixed pricing or free pricing. For more detials on pricing schema refer [this guide](asset-pricing.md).
Complementary to Ocean Market, Ocean has reference code to ease building **third-party data marketplaces**, such as for logistics ([dexFreight data marketplace](https://blog.oceanprotocol.com/dexfreight-ocean-protocol-partner-to-enable-transportation-logistics-companies-to-monetize-data-7aa839195ac)) or mobility ([Daimler](https://blog.oceanprotocol.com/ocean-protocol-delivers-proof-of-concept-for-daimler-ag-in-collaboration-with-daimler-south-east-564aa7d959ca)). Complementary to Ocean Market, Ocean has reference code to ease building **third-party data marketplaces**, such as for logistics ([dexFreight data marketplace](https://blog.oceanprotocol.com/dexfreight-ocean-protocol-partner-to-enable-transportation-logistics-companies-to-monetize-data-7aa839195ac)) or mobility ([Daimler](https://blog.oceanprotocol.com/ocean-protocol-delivers-proof-of-concept-for-daimler-ag-in-collaboration-with-daimler-south-east-564aa7d959ca)).

View File

@ -17,7 +17,7 @@ A [FixedRateExchange](https://github.com/oceanprotocol/contracts/blob/v4main/con
The image below shows how to set the fixed pricing of an asset in the Ocean's Marketplace. Here, the price of the asset is set to 10 Ocean tokens. The image below shows how to set the fixed pricing of an asset in the Ocean's Marketplace. Here, the price of the asset is set to 10 Ocean tokens.
![fixed-asset-pricing](../.gitbook/assets/fixed-asset-pricing.png) ![fixed-asset-pricing](<images/fixed-asset-pricing (1).png>)
### Free pricing ### Free pricing
@ -29,4 +29,4 @@ Free pricing is suitable for individuals and organizations working in the public
The image below shows how to set free access to an asset in the Ocean's Marketplace. The image below shows how to set free access to an asset in the Ocean's Marketplace.
![free-asset-pricing](../.gitbook/assets/free-asset-pricing.png) ![free-asset-pricing](<images/free-asset-pricing (1).png>)

View File

@ -36,7 +36,7 @@ ERC721 tokens are non-fungible, thus cannot be used for automatic price discover
### High-Level Behavior ### High-Level Behavior
![Flow](<../.gitbook/assets/use case>) ![Flow](<images/use-case (1).png>)
Here's an example. Here's an example.

View File

@ -309,6 +309,8 @@ An asset with a service of `type` `compute` has the following additional attribu
| `boolean` | **✓** | If `true`, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be `false` by default in all implementations. | | `boolean` | **✓** | If `true`, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be `false` by default in all implementations. |
| Type | Required | Description | | Type | Required | Description |
| `boolean` | **✓** | If `true`, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be `false` by default in all implementations. | | `boolean` | **✓** | If `true`, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be `false` by default in all implementations. |
| Type | Required | Description |
| `boolean` | **✓** | If `true`, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be `false` by default in all implementations. |
| <p><strong><code>allowNetworkAccess</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>boolean</code></td><td><strong></strong></td><td>If <code>true</code>, the algorithm job will have network access.</td></tr></tbody></table> | | | | <p><strong><code>allowNetworkAccess</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>boolean</code></td><td><strong></strong></td><td>If <code>true</code>, the algorithm job will have network access.</td></tr></tbody></table> | | |
| Type | Required | Description | | Type | Required | Description |
| `boolean` | **✓** | If `true`, the algorithm job will have network access. | | `boolean` | **✓** | If `true`, the algorithm job will have network access. |
@ -318,6 +320,8 @@ An asset with a service of `type` `compute` has the following additional attribu
| `boolean` | **✓** | If `true`, the algorithm job will have network access. | | `boolean` | **✓** | If `true`, the algorithm job will have network access. |
| Type | Required | Description | | Type | Required | Description |
| `boolean` | **✓** | If `true`, the algorithm job will have network access. | | `boolean` | **✓** | If `true`, the algorithm job will have network access. |
| Type | Required | Description |
| `boolean` | **✓** | If `true`, the algorithm job will have network access. |
| <p><strong><code>publisherTrustedAlgorithmPublishers</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>Array of <code>string</code></td><td><strong></strong></td><td>If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed.</td></tr></tbody></table> | | | | <p><strong><code>publisherTrustedAlgorithmPublishers</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>Array of <code>string</code></td><td><strong></strong></td><td>If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed.</td></tr></tbody></table> | | |
| Type | Required | Description | | Type | Required | Description |
| Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. | | Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. |
@ -327,6 +331,8 @@ An asset with a service of `type` `compute` has the following additional attribu
| Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. | | Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. |
| Type | Required | Description | | Type | Required | Description |
| Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. | | Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. |
| Type | Required | Description |
| Array of `string` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. If not empty any algo published by the defined publishers is allowed. |
| <p><strong><code>publisherTrustedAlgorithms</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>Array of <code>publisherTrustedAlgorithms</code></td><td><strong></strong></td><td>If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below).</td></tr></tbody></table> | | | | <p><strong><code>publisherTrustedAlgorithms</code></strong></p><table><thead><tr><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>Array of <code>publisherTrustedAlgorithms</code></td><td><strong></strong></td><td>If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below).</td></tr></tbody></table> | | |
| Type | Required | Description | | Type | Required | Description |
| Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). | | Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). |
@ -336,6 +342,8 @@ An asset with a service of `type` `compute` has the following additional attribu
| Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). | | Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). |
| Type | Required | Description | | Type | Required | Description |
| Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). | | Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). |
| Type | Required | Description |
| Array of `publisherTrustedAlgorithms` | **✓** | If not defined, then any published algorithm is allowed. If empty array, then no algorithm is allowed. Otherwise only the algorithms defined in the array are allowed. (see below). |
The `publisherTrustedAlgorithms` is an array of objects with the following structure: The `publisherTrustedAlgorithms` is an array of objects with the following structure:

View File

@ -5,7 +5,7 @@ description: >-
additional core components deployed to them. additional core components deployed to them.
--- ---
# Supported Networks # Networks
Ocean Protocol contracts are deployed on multiple public networks. You can always find the most up-to-date deployment addresses for all individual contracts in the [address.json](https://github.com/oceanprotocol/contracts/blob/v4main/addresses/address.json). Ocean Protocol contracts are deployed on multiple public networks. You can always find the most up-to-date deployment addresses for all individual contracts in the [address.json](https://github.com/oceanprotocol/contracts/blob/v4main/addresses/address.json).
@ -55,7 +55,7 @@ Ocean is deployed to Polygon Mainnet, another production network. Polygons na
**Bridge** **Bridge**
Check our Polygon Bridge [guide](../building-with-ocean/polygon-bridge.md) to learn how you can deposit, withdraw and send tokens. Check our Polygon Bridge [guide](broken-reference) to learn how you can deposit, withdraw and send tokens.
### Binance Smart Chain ### Binance Smart Chain
@ -81,7 +81,7 @@ If you dont find BSC as a predefined network in your wallet, you can connect
**Bridge** **Bridge**
Check our BSC Bridge [guide](../building-with-ocean/bsc-bridge.md) to learn how you can deposit, withdraw and send tokens. Check our BSC Bridge [guide](broken-reference) to learn how you can deposit, withdraw and send tokens.
### Energy Web Chain ### Energy Web Chain

View File

@ -1,12 +1,12 @@
--- ---
title: FAQs title: FAQs
description: Frequently Asked Questions about Ocean Protocol
order: 5 order: 5
hideLanguageSelector: true hideLanguageSelector: true
featuredImage: images/creatures/mantaray/mantaray-full@2x.png featuredImage: images/creatures/mantaray/mantaray-full@2x.png
description: Frequently Asked Questions about Ocean Protocol
--- ---
# Frequently Asked Questions # FAQ
Have some questions about Ocean Protocol? Have some questions about Ocean Protocol?
@ -15,14 +15,16 @@ Hopefully you'll find the answers here! If not then please don't hesitate to rea
### General Questions ### General Questions
<details> <details>
<summary>What is a decentralized data marketplace?</summary>
<summary>What is a decentralized data marketplace?</summary>
A data marketplace allows providers to publish data and buyers to consume data. Unlike centralized data marketplaces, decentralized ones give users more control over their data, algorithms and analytics by minimizing custodianship and providing transparent and immutable records of every transaction. With features such as Compute-to-Data (C2D), data and algorithms can be ingested into secure Docker containers where escapes avoided, protecting both the data and algorithms. A data marketplace allows providers to publish data and buyers to consume data. Unlike centralized data marketplaces, decentralized ones give users more control over their data, algorithms and analytics by minimizing custodianship and providing transparent and immutable records of every transaction. With features such as Compute-to-Data (C2D), data and algorithms can be ingested into secure Docker containers where escapes avoided, protecting both the data and algorithms.
</details> </details>
<details> <details>
<summary>What is needed to use a decentralized marketplace?</summary>
<summary>What is needed to use a decentralized marketplace?</summary>
Users access decentralized marketplaces via Metamask. Metamask is an applet interface that manages unique IDs, generated and controlled fully by the user. These unique IDs (aka Ethereum address) are used to store digital assets such as cryptocurrency, datatokens, NFTs and other web3 native assets. Users access decentralized marketplaces via Metamask. Metamask is an applet interface that manages unique IDs, generated and controlled fully by the user. These unique IDs (aka Ethereum address) are used to store digital assets such as cryptocurrency, datatokens, NFTs and other web3 native assets.
@ -33,49 +35,56 @@ Once a user has Metamask installed and an Ethereum address, they can register, c
</details> </details>
<details> <details>
<summary>How is Ocean different from other data marketplaces?</summary>
<summary>How is Ocean different from other data marketplaces?</summary>
Ocean Protocol is a decentralized data marketplace which gives users complete control of their data. The Ocean Protocol technology is built on smart contracts, decentralized computer scripts with no intermediary that are triggered by the users. The Ocean Market exposes the functionality of the smart contracts in a browser-friendly interface. Data providers and consumers can discover one another and transact in a peer-to-peer manner with the minimal amount of intermediary involvement. Ocean Protocol is a decentralized data marketplace which gives users complete control of their data. The Ocean Protocol technology is built on smart contracts, decentralized computer scripts with no intermediary that are triggered by the users. The Ocean Market exposes the functionality of the smart contracts in a browser-friendly interface. Data providers and consumers can discover one another and transact in a peer-to-peer manner with the minimal amount of intermediary involvement.
</details> </details>
<details> <details>
<summary>How do I price my data?</summary>
<summary>How do I price my data?</summary>
Ocean gives you two different options for pricing your data - fixed price or free. You need to decide what your dataset is worth and how you want to price it. You can change the price but you cant change the price format (e.g. from fixed to free). Ocean gives you two different options for pricing your data - fixed price or free. You need to decide what your dataset is worth and how you want to price it. You can change the price but you cant change the price format (e.g. from fixed to free).
</details> </details>
<details> <details>
<summary>Is my data secure?</summary>
<summary>Is my data secure?</summary>
Yes. Ocean Protocol understands that some data is too sensitive to be shared — potentially due to GDPR or other reasons. For these types of datasets, we offer a unique service called compute-to-data. This enables you to monetise the dataset that sits behind a firewall without ever revealing the raw data to the consumer. For example, researchers and data scientists pay to run their algorithms on the data set and the computation is performed behind a firewall; all the researchers or data scientists receive is the results generated by their algorithm. Yes. Ocean Protocol understands that some data is too sensitive to be shared — potentially due to GDPR or other reasons. For these types of datasets, we offer a unique service called compute-to-data. This enables you to monetise the dataset that sits behind a firewall without ever revealing the raw data to the consumer. For example, researchers and data scientists pay to run their algorithms on the data set and the computation is performed behind a firewall; all the researchers or data scientists receive is the results generated by their algorithm.
</details> </details>
<details> <details>
<summary>Where is my data stored?</summary>
<summary>Where is my data stored?</summary>
Ocean does not provide data storage. Users have the choice to store their data on their own servers, cloud or decentralized storage. Users need only to provide a URL to the dataset, which is then encrypted as a means to protect the access to the dataset. Ocean does not provide data storage. Users have the choice to store their data on their own servers, cloud or decentralized storage. Users need only to provide a URL to the dataset, which is then encrypted as a means to protect the access to the dataset.
</details> </details>
<details> <details>
<summary>How do I control who accesses my data?</summary>
<summary>How do I control who accesses my data?</summary>
Ocean provides tools for access control, fine grained permissions, passlisting and blocklisting addresses. Data and AI services can be shared under the conditions set by the owner of data. There is no central intermediary, which ensures no one can interfere with the transaction and both the publisher and user have transparency. Ocean provides tools for access control, fine grained permissions, passlisting and blocklisting addresses. Data and AI services can be shared under the conditions set by the owner of data. There is no central intermediary, which ensures no one can interfere with the transaction and both the publisher and user have transparency.
</details> </details>
<details> <details>
<summary>Can I restrict who is able to access my dataset?</summary>
<summary>Can I restrict who is able to access my dataset?</summary>
Yes - Ocean has implemented fine grained permissions. This means that you can create allow and deny lists that restrict access from certain individuals or limit access to particular organizations. Yes - Ocean has implemented fine grained permissions. This means that you can create allow and deny lists that restrict access from certain individuals or limit access to particular organizations.
</details> </details>
<details> <details>
<summary>What is the reach of Ocean Market - how many data buyers can I sell to?</summary>
<summary>What is the reach of Ocean Market - how many data buyers can I sell to?</summary>
Hundreds of unique datasets are available that are sourced from private individuals, research institutions, commercial enterprises and government. Publishing data on Ocean offers data providers and algorithm owners an exciting new channel to connect with a rapidly growing community of Web3 enthusiasts and data science professionals around the world. Hundreds of unique datasets are available that are sourced from private individuals, research institutions, commercial enterprises and government. Publishing data on Ocean offers data providers and algorithm owners an exciting new channel to connect with a rapidly growing community of Web3 enthusiasts and data science professionals around the world.
@ -84,35 +93,40 @@ Hundreds of unique datasets are available that are sourced from private individu
### Technical Questions ### Technical Questions
<details> <details>
<summary>Why does Ocean Protocol use the Blockchain?</summary>
<summary>Why does Ocean Protocol use the Blockchain?</summary>
For both providers and consumers of data, blockchain is a superior substrate for building applications.Blockchain allows business logic to be instantiated in a network and triggered by the users, without intermediaries. This innovation promises lower transaction costs, higher security, more control, less errors and more transparency & auditability. For both providers and consumers of data, blockchain is a superior substrate for building applications.Blockchain allows business logic to be instantiated in a network and triggered by the users, without intermediaries. This innovation promises lower transaction costs, higher security, more control, less errors and more transparency & auditability.
</details> </details>
<details> <details>
<summary>The blockchain is public - does this mean that anyone can access my data?</summary>
<summary>The blockchain is public - does this mean that anyone can access my data?</summary>
No one is able to access data via the blockchain without purchasing access (with the datatoken) though the smart contract. Ocean smart contracts encrypt the URL to the dataset before it is published on the blockchain. This means that only the encrypted URL will be queryable in the public blockchain. Ocean technology facilitates data access to the consumer via a proxy (Ocean Provider) and the unencrypted url is never exposed. No one is able to access data via the blockchain without purchasing access (with the datatoken) though the smart contract. Ocean smart contracts encrypt the URL to the dataset before it is published on the blockchain. This means that only the encrypted URL will be queryable in the public blockchain. Ocean technology facilitates data access to the consumer via a proxy (Ocean Provider) and the unencrypted url is never exposed.
</details> </details>
<details> <details>
<summary>What is a smart contract and why is it relevant?</summary>
<summary>What is a smart contract and why is it relevant?</summary>
The blockchain can do more than just store information - it can also run code. A smart contract is an executable script that runs on the blockchain, with no intermediary and is fully transparent and auditable by anyone. In Ocean, smart contracts facilitate access to data and AI if the access conditions set out by the publisher are fulfilled. The blockchain can do more than just store information - it can also run code. A smart contract is an executable script that runs on the blockchain, with no intermediary and is fully transparent and auditable by anyone. In Ocean, smart contracts facilitate access to data and AI if the access conditions set out by the publisher are fulfilled.
</details> </details>
<details> <details>
<summary>What is a datatoken?</summary>
<summary>What is a datatoken?</summary>
A datatoken is an access token to datasets and services published in the Ocean ecosystem. Datatokens can be purchased via the Ocean Market or on a decentralized crypto exchange. . If a consumer wishes to access a dataset, they must acquire the datatoken and then exchange the datatoken for access to the dataset. A datatoken is an access token to datasets and services published in the Ocean ecosystem. Datatokens can be purchased via the Ocean Market or on a decentralized crypto exchange. . If a consumer wishes to access a dataset, they must acquire the datatoken and then exchange the datatoken for access to the dataset.
</details> </details>
<details> <details>
<summary>How do I acquire datatokens?</summary>
<summary>How do I acquire datatokens?</summary>
Datatokens can be acquired and traded in Ocean Market. There are several ways to acquire data tokens. Data publishers can acquire datatokens by publishing datasets and then receiving the generated datatokens. Datatokens can be acquired and traded in Ocean Market. There are several ways to acquire data tokens. Data publishers can acquire datatokens by publishing datasets and then receiving the generated datatokens.
@ -125,70 +139,80 @@ Datatokens can also be sent from anyone who holds a datatoken for a particular a
### Data Selling Questions ### Data Selling Questions
<details> <details>
<summary>How are organizations leveraging data sharing?</summary>
<summary>How are organizations leveraging data sharing?</summary>
For the most part organizations are leveraging data sharing to benefit from data monetization, however increasingly organizations are also sharing data in order to boost their progress on sustainability goals. For example, data aggregated from vehicles can not only bring new revenue streams to automotive firms but can also be used to battle pollution. For the most part organizations are leveraging data sharing to benefit from data monetization, however increasingly organizations are also sharing data in order to boost their progress on sustainability goals. For example, data aggregated from vehicles can not only bring new revenue streams to automotive firms but can also be used to battle pollution.
</details> </details>
<details> <details>
<summary>Does it pay to become a marketplace operator?</summary>
<summary>Does it pay to become a marketplace operator?</summary>
Yes. Marketplace operators benefit from earning commission on marketplace transactions related to data consumption. Ocean Market is primarily focussed on monetising data however it is also designed to handle the sale of any digital asset or service. As a result the total addressable market goes way beyond revenues from just selling data. Operating costs for an Ocean-powered marketplace are moderate and the base code is open source and available free of charge under the Apache 2 license. Yes. Marketplace operators benefit from earning commission on marketplace transactions related to data consumption. Ocean Market is primarily focussed on monetising data however it is also designed to handle the sale of any digital asset or service. As a result the total addressable market goes way beyond revenues from just selling data. Operating costs for an Ocean-powered marketplace are moderate and the base code is open source and available free of charge under the Apache 2 license.
</details> </details>
<details> <details>
<summary>Why Publish?</summary>
<summary>Why Publish?</summary>
Publishing data, algorithms and other digital assets and services on an Ocean-powered marketplace offers numerous opportunities to earn on the future revenue streams connected to that data as well as build lucrative ecosystem that add value to the published asset. It also allows for the discovery and insights into new use cases and applications of the published asset. Publishing data, algorithms and other digital assets and services on an Ocean-powered marketplace offers numerous opportunities to earn on the future revenue streams connected to that data as well as build lucrative ecosystem that add value to the published asset. It also allows for the discovery and insights into new use cases and applications of the published asset.
</details> </details>
<details> <details>
<summary>What about the price fluctuation of Ocean?</summary>
<summary>What about the price fluctuation of Ocean?</summary>
Price fluctuation is mitigated through the use of the Ocean backed stable coin H2O. Price fluctuation is mitigated through the use of the Ocean backed stable coin H2O.
</details> </details>
<details> <details>
<summary>Who pays for gas fees?</summary>
<summary>Who pays for gas fees?</summary>
Gas fees for marketplace transactions are paid by the user initiating the transaction (for publishing, consuming, etc). Gas fees for marketplace transactions are paid by the user initiating the transaction (for publishing, consuming, etc).
</details> </details>
<details> <details>
<summary>Where do the docker containers run?</summary>
<summary>Where do the docker containers run?</summary>
Dockers containers can run anywhere. Ocean Market use a docker run by the Ocean Protocol Foundation OPF); limit: 1 CPU limit / 60 seconds max. NOTE: This means OPF technically has access to data. In the case of a forked Ocean-powered marketplace the owner of marketplace must set up computation environment. If individual users of the marketplace are concerned with security they should be prepared to host both the data and provide compute-to-data services on premise. Dockers containers can run anywhere. Ocean Market use a docker run by the Ocean Protocol Foundation OPF); limit: 1 CPU limit / 60 seconds max. NOTE: This means OPF technically has access to data. In the case of a forked Ocean-powered marketplace the owner of marketplace must set up computation environment. If individual users of the marketplace are concerned with security they should be prepared to host both the data and provide compute-to-data services on premise.
</details> </details>
<details> <details>
<summary>Who pays for the computation?</summary>
<summary>Who pays for the computation?</summary>
The marketplace owner. The marketplace owner.
</details> </details>
<details> <details>
<summary>What cryptocurrency do I need for transactions?</summary>
<summary>What cryptocurrency do I need for transactions?</summary>
The type if cryptocurrencies needed for transactions on the marketplace depends on which network(s) the marketplace is running (Ethereum, Polygon, EWT, BSC, Moonriver, etc.). Regardless of network, users will need to have Ocean tokens as well as the corresponding network token, which is used to pay for gas. The type if cryptocurrencies needed for transactions on the marketplace depends on which network(s) the marketplace is running (Ethereum, Polygon, EWT, BSC, Moonriver, etc.). Regardless of network, users will need to have Ocean tokens as well as the corresponding network token, which is used to pay for gas.
</details> </details>
<details> <details>
<summary>Can I use the off the shelf CSS available in the repo?</summary>
<summary>Can I use the off the shelf CSS available in the repo?</summary>
Marketplace name, logo and typeface must be changed by the client. Slight modification would be enough for compliance. For more information consult the READ ME file on GitHub. https://github.com/oceanprotocol/market#-forking Marketplace name, logo and typeface must be changed by the client. Slight modification would be enough for compliance. For more information consult the READ ME file on GitHub. https://github.com/oceanprotocol/market#-forking
</details> </details>
<details> <details>
<summary>Whats to come with Ocean this year?</summary>
<summary>Whats to come with Ocean this year?</summary>
Checkout our [roadmap](https://oceanprotocol.com/technology/roadmap) to see what's we are currently working on. If you are interested in tracking our progress towards these goals then take a look at our [github](https://github.com/oceanprotocol/). Checkout our [roadmap](https://oceanprotocol.com/technology/roadmap) to see what's we are currently working on. If you are interested in tracking our progress towards these goals then take a look at our [github](https://github.com/oceanprotocol/).

View File

@ -10,27 +10,27 @@ description: Tutorial about how to set up MetaMask for Chrome.
1. Go to the [Chrome Web Store for extensions](https://chrome.google.com/webstore/category/extensions) and search for MetaMask. 1. Go to the [Chrome Web Store for extensions](https://chrome.google.com/webstore/category/extensions) and search for MetaMask.
![metamask-chrome-store](../.gitbook/assets/metamask-chrome-extension.png) ![metamask-chrome-store](../building-with-ocean/images/metamask-chrome-extension.png)
* Install MetaMask. The wallet provides a friendly user interface that will help you through each step. MetaMask gives you two options: importing an existing wallet or creating a new one. Choose to `Create a Wallet`: * Install MetaMask. The wallet provides a friendly user interface that will help you through each step. MetaMask gives you two options: importing an existing wallet or creating a new one. Choose to `Create a Wallet`:
![Create a wallet](../.gitbook/assets/create-new-metamask-wallet.png) ![Create a wallet](../building-with-ocean/images/create-new-metamask-wallet.png)
* In the next step create a new password for your wallet. Read through and accept the terms and conditions. After that, MetaMask will generate Secret Backup Phrase for you. Write it down and store it in a safe place. * In the next step create a new password for your wallet. Read through and accept the terms and conditions. After that, MetaMask will generate Secret Backup Phrase for you. Write it down and store it in a safe place.
![Secret Backup Phrase](../.gitbook/assets/secret-backup-phrase.png) ![Secret Backup Phrase](../building-with-ocean/images/secret-backup-phrase.png)
* Continue forward. On the next page, MetaMask will ask you to confirm the backup phrase. Select the words in the correct sequence: * Continue forward. On the next page, MetaMask will ask you to confirm the backup phrase. Select the words in the correct sequence:
![Confirm secret backup phrase](../.gitbook/assets/confirm-backup-phrase.png) ![Confirm secret backup phrase](../building-with-ocean/images/confirm-backup-phrase.png)
* Voila! Your account is now created. You can access MetaMask via the browser extension in the top right corner of your browser. * Voila! Your account is now created. You can access MetaMask via the browser extension in the top right corner of your browser.
![MetaMask browser extension](../.gitbook/assets/metamask-browser-extension.png) ![MetaMask browser extension](../building-with-ocean/images/metamask-browser-extension.png)
* You can now manage Ether and Ocean Tokens with your wallet. You can copy your account address to the clipboard from the options. When you want someone to send Ether or Ocean Tokens to you, you will have to give them that address. It's not a secret. * You can now manage Ether and Ocean Tokens with your wallet. You can copy your account address to the clipboard from the options. When you want someone to send Ether or Ocean Tokens to you, you will have to give them that address. It's not a secret.
![Manage tokens](../.gitbook/assets/manage-tokens.png) ![Manage tokens](../building-with-ocean/images/manage-tokens.png)
You can also watch our [tutorial video snippets](https://www.youtube.com/playlist?list=PL\_dn0wVs9kWolBCbtHaFxsi408cumOeth) if you want more help setting up MetaMask. You can also watch our [tutorial video snippets](https://www.youtube.com/playlist?list=PL\_dn0wVs9kWolBCbtHaFxsi408cumOeth) if you want more help setting up MetaMask.
@ -40,7 +40,7 @@ Sometimes it is required to use custom or external networks in MetaMask. We can
Open the Settings menu and find the `Networks` option. When you open it, you'll be able to see all available networks your MetaMask wallet currently use. Click the `Add Network` button. Open the Settings menu and find the `Networks` option. When you open it, you'll be able to see all available networks your MetaMask wallet currently use. Click the `Add Network` button.
![Add custom/external network](../.gitbook/assets/metamask-add-network.png) ![Add custom/external network](../building-with-ocean/images/metamask-add-network.png)
There are a few empty inputs we need to fill: There are a few empty inputs we need to fill:

View File

@ -5,21 +5,40 @@
1. Go to the pool's Etherscan/Polygonscan page. You can find it by inspecting your transactions on your account's Etherscan page under _Erc20 Token Txns_. 1. Go to the pool's Etherscan/Polygonscan page. You can find it by inspecting your transactions on your account's Etherscan page under _Erc20 Token Txns_.
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.
5. Use this number as value for `poolAmountIn` when exiting the pool. ![](../.gitbook/assets/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.
![](../.gitbook/assets/remove-liquidity-2.png)
5\. Use this number as value for `poolAmountIn` when exiting the pool.
## Get maximum to remove ## Get maximum to remove
1. Go to the pool's Etherscan/Polygonscan page. 1. Go to the pool's Etherscan/Polygonscan page.
2. Go to _Contract_ -> _Read Contract_. 2. Go to _Contract_ -> _Read Contract_.
3. Go to field `56. totalSupply` to get the total amopunt of pool shares, in wei. 3. Go to field `56. totalSupply` to get the total amopunt of pool shares, in wei.
4. 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.
![](../.gitbook/assets/remove-liquidity-3.png)
4\. 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.
## Exit pool ## Exit pool
1. Go to the pool's Etherscan/Polygonscan page. 1. Go to the pool's Etherscan/Polygonscan page.
2. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool. 2. Go to _Contract_ -> _Write Contract_ and connect your wallet. Be sure to have your wallet connected to network of the pool.
3. Go to the field `5. exitswapPoolAmountIn`
4. For `poolAmountIn` add your pool shares in wei ![](../.gitbook/assets/remove-liquidity-4.png)
5. For `minAmountOut` use anything, like `1`
6. Hit _Write_ 3\. Go to the field `5. exitswapPoolAmountIn`
* For `poolAmountIn` add your pool shares in wei
* For `minAmountOut` use anything, like `1`
* Hit _Write_
![](../.gitbook/assets/remove-liquidity-5.png)
4\. Confirm transaction in metamask
![](../.gitbook/assets/remove-liquidity-6.png)