diff --git a/.gitbook/assets/remove-liquidity-1.png b/.gitbook/assets/remove-liquidity-1.png new file mode 100644 index 00000000..5288d028 Binary files /dev/null and b/.gitbook/assets/remove-liquidity-1.png differ diff --git a/.gitbook/assets/remove-liquidity-2.png b/.gitbook/assets/remove-liquidity-2.png new file mode 100644 index 00000000..07f0cdd9 Binary files /dev/null and b/.gitbook/assets/remove-liquidity-2.png differ diff --git a/.gitbook/assets/remove-liquidity-3.png b/.gitbook/assets/remove-liquidity-3.png new file mode 100644 index 00000000..01b8aa51 Binary files /dev/null and b/.gitbook/assets/remove-liquidity-3.png differ diff --git a/.gitbook/assets/remove-liquidity-4.png b/.gitbook/assets/remove-liquidity-4.png new file mode 100644 index 00000000..37223f6d Binary files /dev/null and b/.gitbook/assets/remove-liquidity-4.png differ diff --git a/.gitbook/assets/remove-liquidity-5.png b/.gitbook/assets/remove-liquidity-5.png new file mode 100644 index 00000000..2b7722dd Binary files /dev/null and b/.gitbook/assets/remove-liquidity-5.png differ diff --git a/.gitbook/assets/remove-liquidity-6.png b/.gitbook/assets/remove-liquidity-6.png new file mode 100644 index 00000000..15b4f6b6 Binary files /dev/null and b/.gitbook/assets/remove-liquidity-6.png differ diff --git a/building-with-ocean/asset-hosting.md b/building-with-ocean/asset-hosting.md index 3db73002..16a565bc 100644 --- a/building-with-ocean/asset-hosting.md +++ b/building-with-ocean/asset-hosting.md @@ -3,7 +3,7 @@ title: Publish assets using hosting services description: Tutorial to publish assets using hosting services like Google Drive and Azure. --- -# Publish assets using hosting services +# Publishing with hosting services ### 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). -![Publish - File URL field](../.gitbook/assets/marketplace-publish-file-field.png) +![Publish - File URL field]() ### 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//view?usp=sharing`, where the `` 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]() **Step 2 - Create a downloadable link** @@ -41,7 +41,7 @@ Note the `` 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. -![Publish - Google Drive file](../.gitbook/assets/publish-google-drive-2.png) +![Publish - Google Drive 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. -![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 storage account - 2](../.gitbook/assets/azure-2.png) +![Create a storage account - 2](images/marketplace/publish/azure-2.png) **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](../.gitbook/assets/azure-4.png) +![Storage account created](images/marketplace/publish/azure-4.png) **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** -![Upload a file](../.gitbook/assets/azure-6.png) +![Upload a file](images/marketplace/publish/azure-6.png) **Step 4 - Share the file** **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`** -![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 link](../.gitbook/assets/azure-9.png) +![Copy the link](images/marketplace/publish/azure-9.png) **Step 5 - Publish the asset using the generated link** 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 @@ -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. -![Upload a file](../.gitbook/assets/one-drive-1.png) +![Upload a file](images/marketplace/publish/one-drive-1.png) **Step 2 - Get 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 iframe](../.gitbook/assets/one-drive-3.png) +![Copy the iframe](images/marketplace/publish/one-drive-3.png) 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. -![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) diff --git a/building-with-ocean/build-a-marketplace/README.md b/building-with-ocean/build-a-marketplace/README.md index 970c1dd4..82697e50 100644 --- a/building-with-ocean/build-a-marketplace/README.md +++ b/building-with-ocean/build-a-marketplace/README.md @@ -1,10 +1,10 @@ --- title: Forking Ocean Market -description: Forking and customizing Ocean Market (Frontend) featuredImage: images/creatures/mantaray/mantaray-full@2x.png +description: Forking and customizing Ocean Market (Frontend) --- -# 🐟 Forking and customizing Ocean Market +# Build a Marketplace ## Outcome @@ -20,10 +20,9 @@ Using Ocean Market is already a big improvement on the alternatives that are out The tutorial covers: -- Forking and running Ocean Market locally -- Customising your fork of Ocean market -- Quick deployment of Ocean Market - +* Forking and running Ocean Market locally +* Customising your fork of Ocean market +* Quick deployment of Ocean Market ## Preparation @@ -31,20 +30,14 @@ The tutorial covers: If you’re 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, you’ll need a [wallet](https://docs.oceanprotocol.com/tutorials/wallets/). We recommend [getting set up with metamask](https://docs.oceanprotocol.com/tutorials/metamask-setup/). - -- You’ll 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. +* To use your clone of Ocean Market, you’ll need a [wallet](https://docs.oceanprotocol.com/tutorials/wallets/). We recommend [getting set up with metamask](https://docs.oceanprotocol.com/tutorials/metamask-setup/). +* You’ll 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. **Required Prerequisites** -- 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/) (we’re using version 16 in this guide) - -- A decent code editor, such as [Visual Studio Code](https://code.visualstudio.com/). - -- You’ll need a Github account to fork Ocean market via [Github](https://github.com/). +* 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/) (we’re using version 16 in this guide) +* A decent code editor, such as [Visual Studio Code](https://code.visualstudio.com/). +* You’ll need a Github account to fork Ocean market via [Github](https://github.com/). diff --git a/building-with-ocean/build-a-marketplace/deploying-market.md b/building-with-ocean/build-a-marketplace/deploying-market.md index 0ff8d2a3..43bb69dc 100644 --- a/building-with-ocean/build-a-marketplace/deploying-market.md +++ b/building-with-ocean/build-a-marketplace/deploying-market.md @@ -2,11 +2,11 @@ title: Deployment of Ocean Market order: 3 hideLanguageSelector: true -description: Step by step guide to a quick deployment of Ocean Market 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 that’s left is for you to host your data marketplace and start sharing it with your future users. diff --git a/core-concepts/architecture.md b/core-concepts/architecture.md index f20a0f3d..fd376647 100644 --- a/core-concepts/architecture.md +++ b/core-concepts/architecture.md @@ -9,7 +9,7 @@ description: Data NFTs and datatokens architecture Here is the Ocean architecture. -![Ocean Protocol tools architecture](../.gitbook/assets/architecture.png) +![Ocean Protocol tools architecture]() Here’s 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). -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)). diff --git a/core-concepts/asset-pricing.md b/core-concepts/asset-pricing.md index 15e2b95f..7d72b9be 100644 --- a/core-concepts/asset-pricing.md +++ b/core-concepts/asset-pricing.md @@ -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. -![fixed-asset-pricing](../.gitbook/assets/fixed-asset-pricing.png) +![fixed-asset-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. -![free-asset-pricing](../.gitbook/assets/free-asset-pricing.png) +![free-asset-pricing]() diff --git a/core-concepts/datanft-and-datatoken.md b/core-concepts/datanft-and-datatoken.md index 2180f869..157e6b58 100644 --- a/core-concepts/datanft-and-datatoken.md +++ b/core-concepts/datanft-and-datatoken.md @@ -36,7 +36,7 @@ ERC721 tokens are non-fungible, thus cannot be used for automatic price discover ### High-Level Behavior -![Flow](<../.gitbook/assets/use case>) +![Flow]() Here's an example. diff --git a/core-concepts/did-ddo.md b/core-concepts/did-ddo.md index 39490414..8d50741f 100644 --- a/core-concepts/did-ddo.md +++ b/core-concepts/did-ddo.md @@ -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. | | 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. | +| 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. | |

allowNetworkAccess

TypeRequiredDescription
booleanIf true, the algorithm job will have network access.
| | | | Type | Required | Description | | `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. | | Type | Required | Description | | `boolean` | **✓** | If `true`, the algorithm job will have network access. | +| Type | Required | Description | +| `boolean` | **✓** | If `true`, the algorithm job will have network access. | |

publisherTrustedAlgorithmPublishers

TypeRequiredDescription
Array of stringIf 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. | @@ -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. | | 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. | +| 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. | |

publisherTrustedAlgorithms

TypeRequiredDescription
Array of publisherTrustedAlgorithmsIf 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). | @@ -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). | | 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). | +| 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: diff --git a/core-concepts/networks.md b/core-concepts/networks.md index a2a2fc4c..bb5eafbe 100644 --- a/core-concepts/networks.md +++ b/core-concepts/networks.md @@ -5,7 +5,7 @@ description: >- 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). @@ -55,7 +55,7 @@ Ocean is deployed to Polygon Mainnet, another production network. Polygon’s na **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 @@ -81,7 +81,7 @@ If you don’t find BSC as a predefined network in your wallet, you can connect **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 diff --git a/orientation/faq.md b/orientation/faq.md index 23b09069..cd6d2282 100644 --- a/orientation/faq.md +++ b/orientation/faq.md @@ -1,12 +1,12 @@ --- title: FAQs -description: Frequently Asked Questions about Ocean Protocol order: 5 hideLanguageSelector: true 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? @@ -15,14 +15,16 @@ Hopefully you'll find the answers here! If not then please don't hesitate to rea ### General Questions
- What is a decentralized data marketplace? + +What is a decentralized data marketplace? 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.
- What is needed to use a decentralized marketplace? + +What is needed to use a decentralized marketplace? 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
- How is Ocean different from other data marketplaces? + +How is Ocean different from other data marketplaces? 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.
- How do I price my data? + +How do I price my data? 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 can’t change the price format (e.g. from fixed to free).
- Is my data secure? + +Is my data secure? 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.
- Where is my data stored? + +Where is my data stored? 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.
- How do I control who accesses my data? + +How do I control who accesses my data? 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.
- Can I restrict who is able to access my dataset? + +Can I restrict who is able to access my dataset? 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.
- What is the reach of Ocean Market - how many data buyers can I sell to? + +What is the reach of Ocean Market - how many data buyers can I sell to? 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
- Why does Ocean Protocol use the Blockchain? + +Why does Ocean Protocol use the Blockchain? 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.
- The blockchain is public - does this mean that anyone can access my data? + +The blockchain is public - does this mean that anyone can access my data? 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.
- What is a smart contract and why is it relevant? + +What is a smart contract and why is it relevant? 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.
- What is a datatoken? + +What is a datatoken? 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.
- How do I acquire datatokens? + +How do I acquire 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
- How are organizations leveraging data sharing? + +How are organizations leveraging data sharing? 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.
- Does it pay to become a marketplace operator? + +Does it pay to become a marketplace operator? 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.
- Why Publish? + +Why Publish? 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.
- What about the price fluctuation of Ocean? + +What about the price fluctuation of Ocean? Price fluctuation is mitigated through the use of the Ocean backed stable coin H2O.
- Who pays for gas fees? + +Who pays for gas fees? Gas fees for marketplace transactions are paid by the user initiating the transaction (for publishing, consuming, etc).
- Where do the docker containers run? + +Where do the docker containers run? 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.
- Who pays for the computation? + +Who pays for the computation? The marketplace owner.
- What cryptocurrency do I need for transactions? + +What cryptocurrency do I need for transactions? 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.
- Can I use the off the shelf CSS available in the repo? + +Can I use the off the shelf CSS available in the repo? 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
- What’s to come with Ocean this year? + +What’s to come with Ocean this year? 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/). diff --git a/orientation/metamask-setup.md b/orientation/metamask-setup.md index 0c470bd1..831fd0d5 100644 --- a/orientation/metamask-setup.md +++ b/orientation/metamask-setup.md @@ -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. -![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`: -![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. -![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: -![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. -![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. -![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. @@ -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. -![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: diff --git a/using-ocean-market/remove-liquidity-using-etherscan.md b/using-ocean-market/remove-liquidity-using-etherscan.md index 59e401dd..cc04d395 100644 --- a/using-ocean-market/remove-liquidity-using-etherscan.md +++ b/using-ocean-market/remove-liquidity-using-etherscan.md @@ -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_. 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_. -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 1. Go to the pool's Etherscan/Polygonscan page. 2. Go to _Contract_ -> _Read Contract_. 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 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. -3. Go to the field `5. exitswapPoolAmountIn` -4. For `poolAmountIn` add your pool shares in wei -5. For `minAmountOut` use anything, like `1` -6. Hit _Write_ + +![](../.gitbook/assets/remove-liquidity-4.png) + +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)