diff --git a/.gitbook/assets/image (4).png b/.gitbook/assets/image (4).png deleted file mode 100644 index a633d8f8..00000000 Binary files a/.gitbook/assets/image (4).png and /dev/null differ diff --git a/.gitbook/assets/market-customisation-1.png b/.gitbook/assets/market-customisation-1.png deleted file mode 100644 index c5b59e35..00000000 Binary files a/.gitbook/assets/market-customisation-1.png and /dev/null differ diff --git a/.gitbook/assets/market-customisation-2.png b/.gitbook/assets/market-customisation-2.png deleted file mode 100644 index 68f024d4..00000000 Binary files a/.gitbook/assets/market-customisation-2.png and /dev/null differ diff --git a/.gitbook/assets/remove-liquidity-1 (1).png b/.gitbook/assets/remove-liquidity-1 (1).png new file mode 100644 index 00000000..61bcc1a7 Binary files /dev/null and b/.gitbook/assets/remove-liquidity-1 (1).png differ diff --git a/.gitbook/assets/remove-liquidity-2.png b/.gitbook/assets/remove-liquidity-2.png index 07f0cdd9..fd4dbe4e 100644 Binary files a/.gitbook/assets/remove-liquidity-2.png and b/.gitbook/assets/remove-liquidity-2.png differ diff --git a/.gitbook/assets/remove-liquidity-4.png b/.gitbook/assets/remove-liquidity-4.png index 37223f6d..fa7e4263 100644 Binary files a/.gitbook/assets/remove-liquidity-4.png 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 index 2b7722dd..766a671c 100644 Binary files a/.gitbook/assets/remove-liquidity-5.png 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 index 15b4f6b6..a52c717e 100644 Binary files a/.gitbook/assets/remove-liquidity-6.png 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 16a565bc..21d138b3 100644 --- a/building-with-ocean/asset-hosting.md +++ b/building-with-ocean/asset-hosting.md @@ -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]() +![Publish - File URL field](../.gitbook/assets/marketplace-publish-file-field.png) ### 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]() +![Google Drive link](../.gitbook/assets/publish-google-drive.png) **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]() +![Publish - Google Drive file](../.gitbook/assets/publish-google-drive-2.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._ @@ -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](images/marketplace/publish/azure-1.png) +![Create a storage account - 1](../.gitbook/assets/azure-1.png) **Create a new storage account** -![Create a storage account - 2](images/marketplace/publish/azure-2.png) +![Create a storage account - 2](../.gitbook/assets/azure-2.png) **Fill in the details** -![Add details](images/marketplace/publish/azure-3.png) +![Add details](../.gitbook/assets/azure-3.png) **Storage account created** -![Storage account created](images/marketplace/publish/azure-4.png) +![Storage account created](../.gitbook/assets/azure-4.png) **Step 2 - Create a blob container** -![Create a blob container](images/marketplace/publish/azure-5.png) +![Create a blob container](../.gitbook/assets/azure-5.png) **Step 3 - Upload a file** -![Upload a file](images/marketplace/publish/azure-6.png) +![Upload a file](../.gitbook/assets/azure-6.png) **Step 4 - Share the file** **Select the file to be published and click Generate SAS** -![Click generate SAS](images/marketplace/publish/azure-7.png) +![Click generate SAS](../.gitbook/assets/azure-7.png) **Configure the SAS details and click `Generate SAS token and URL`** -![Generate link to file](images/marketplace/publish/azure-8.png) +![Generate link to file](../.gitbook/assets/azure-8.png) **Copy the generated link** -![Copy the link](images/marketplace/publish/azure-9.png) +![Copy the link](../.gitbook/assets/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](images/marketplace/publish/azure-10.png) +![Publish the file as an asset](../.gitbook/assets/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](images/marketplace/publish/one-drive-1.png) +![Upload a file](../.gitbook/assets/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](images/marketplace/publish/one-drive-2.png) +![Get an embeddable link](../.gitbook/assets/one-drive-2.png) Copy the highlighted content as shown in the below image: -![Copy the iframe](images/marketplace/publish/one-drive-3.png) +![Copy the iframe](../.gitbook/assets/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](images/marketplace/publish/one-drive-4.png) +![Publish the file as an asset](../.gitbook/assets/one-drive-4.png) diff --git a/building-with-ocean/build-a-marketplace/forking-ocean-market.md b/building-with-ocean/build-a-marketplace/forking-ocean-market.md index d04ea190..72ef783c 100644 --- a/building-with-ocean/build-a-marketplace/forking-ocean-market.md +++ b/building-with-ocean/build-a-marketplace/forking-ocean-market.md @@ -2,24 +2,20 @@ title: Forking Ocean Market order: 1 hideLanguageSelector: true -description: Forking and running Ocean Market locally. featuredImage: images/creatures/mantaray/mantaray-full@2x.png +description: Forking and running Ocean Market locally. --- -# Forking and running Ocean Market locally +# Forking Ocean Market One of the best use cases for Ocean is running your own marketplace and monetizing your digital assets. With Ocean you can sell your data directly to your customers with no third party in-between, no need to speak to data with data brokers. Ocean makes this all super easy for you with some pretty cool tech under the hood. Furthermore, an Ocean powered market isn't just limited to selling data, you can use it for selling any type of digital asset! Using Ocean Market is already a big improvement on the alternatives that are out there, but it gets even better. Ocean Market is completely open-source and made freely available under the Apache 2 license. This means that you can fork Ocean Market and set up your own data marketplace in just a few steps. This guide will walk you through the process, you’ll be surprised how easy it is. No prior blockchain knowledge is required! - -- Fork Ocean Market - -- Clone the market locally - -- Install the dependencies - -- Run your Market fork for the first time +* Fork Ocean Market +* Clone the market locally +* Install the dependencies +* Run your Market fork for the first time ## Fork Ocean Market @@ -51,12 +47,12 @@ npm start The above command will build the development bundle and run it locally. -![Forking Ocean Market](../../.gitbook/assets/market-customisation-1.png) +![Forking Ocean Market](../../.gitbook/assets/market-forking-1.png) Great news - your marketplace has successfully been built and is now running locally. Let’s check it out! Open your browser and navigate to http://localhost:8000/. You’ll see that you have a full-on clone of Ocean Market running locally. Give it a go and test out publishing and consuming assets - everything works! That’s all that’s required to get a clone of Ocean market working. The whole process is made simple because your clone can happily use all the smart contracts and backend components that are maintained by Ocean Protocol Foundation. -![Forking Ocean Market](../../.gitbook/assets/market-customisation-2.png) +![Forking Ocean Market](../../.gitbook/assets/market-forking-2.png) So you’ve got a fully functioning marketplace at this point, which is pretty cool. But it doesn’t really look like your marketplace. Right now, it’s still just a clone of Ocean Market - the same branding, name, logo, etc. The next few steps focus on personalizing your marketplace. diff --git a/building-with-ocean/deploying-components/setup-server.md b/building-with-ocean/deploying-components/setup-server.md index c0fc1512..471a58f4 100644 --- a/building-with-ocean/deploying-components/setup-server.md +++ b/building-with-ocean/deploying-components/setup-server.md @@ -22,13 +22,13 @@ Click on **`Create`** button and choose **`Droplets`** options from dropdown. #### Configure droplet -Select Ubuntu OS and choose a plan. The required CPU, Memory depends on the number of requests Aquarius is expected to serve. +Select Ubuntu OS and choose a plan. The required CPU, Memory depends on the number of requests Aquarius is expected to serve. ![Configure droplet](<../../.gitbook/assets/image (8).png>) Also, select the region where you want Aquarius to be hosted and a root password. -![](<../../.gitbook/assets/image (4).png>) +![](<../../.gitbook/assets/image (10).png>) ![Click Create Droplet](<../../.gitbook/assets/image (7).png>) @@ -58,8 +58,7 @@ sudo apt-get update sudo apt-get install docker-compose-plugin ``` -Now that, the server is ready with all the required dependencies are installed for hosting Ocean Components, follow the instructions given in Component specific guide. +Now that, the server is ready with all the required dependencies are installed for hosting Ocean Components, follow the instructions given in Component specific guide. * [Deploying Marketplace](deploying-marketplace.md) -* [ Deploying Aquarius ](deploying-aquarius.md) - +* [Deploying Aquarius](deploying-aquarius.md) diff --git a/core-concepts/architecture.md b/core-concepts/architecture.md index fd376647..2d6a69ee 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]() +![Ocean Protocol tools architecture](../.gitbook/assets/architecture.png) Here’s an overview of the figure. diff --git a/core-concepts/asset-pricing.md b/core-concepts/asset-pricing.md index 7d72b9be..15e2b95f 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]() +![fixed-asset-pricing](../.gitbook/assets/fixed-asset-pricing.png) ### 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]() +![free-asset-pricing](../.gitbook/assets/free-asset-pricing.png) diff --git a/core-concepts/datanft-and-datatoken.md b/core-concepts/datanft-and-datatoken.md index 157e6b58..2180f869 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]() +![Flow](<../.gitbook/assets/use case>) Here's an example. diff --git a/core-concepts/did-ddo.md b/core-concepts/did-ddo.md index 8d50741f..a193959a 100644 --- a/core-concepts/did-ddo.md +++ b/core-concepts/did-ddo.md @@ -33,7 +33,7 @@ The DDO is stored on-chain as part of the NFT contract and stored in encrypted f Here is the flow: -![DDO flow](<../.gitbook/assets/ddo flow>) +![DDO flow]()
diff --git a/orientation/metamask-setup.md b/orientation/metamask-setup.md index 831fd0d5..0c470bd1 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](../building-with-ocean/images/metamask-chrome-extension.png) +![metamask-chrome-store](../.gitbook/assets/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](../building-with-ocean/images/create-new-metamask-wallet.png) +![Create a wallet](../.gitbook/assets/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](../building-with-ocean/images/secret-backup-phrase.png) +![Secret Backup Phrase](../.gitbook/assets/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](../building-with-ocean/images/confirm-backup-phrase.png) +![Confirm secret backup phrase](../.gitbook/assets/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](../building-with-ocean/images/metamask-browser-extension.png) +![MetaMask browser extension](../.gitbook/assets/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](../building-with-ocean/images/manage-tokens.png) +![Manage tokens](../.gitbook/assets/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](../building-with-ocean/images/metamask-add-network.png) +![Add custom/external network](../.gitbook/assets/metamask-add-network.png) There are a few empty inputs we need to fill: diff --git a/using-ocean-market/README.md b/using-ocean-market/README.md index 9c034289..b7e87b33 100644 --- a/using-ocean-market/README.md +++ b/using-ocean-market/README.md @@ -5,7 +5,7 @@ * [Ocean Market](https://market.oceanprotocol.com/) enables publishers to monetize their data and/or algorithms through blockchain technology. * Consumers can purchase access to data, algorithms, compute services. -![Ocean Market Landing Page](../.gitbook/assets/marketplace-landing-page.png) +![Ocean Market Landing Page](images/marketplace/marketplace-landing-page.png) The following guides will help you get started with buying and selling data: @@ -21,4 +21,4 @@ If you are new to web3 and blockchain technologies then we suggest you first rea ### Removing Liquidity -The AMM pools, and dynamic pricing schema are no longer available on the Ocean Market. Refer [this page](remove-liquidity-using-etherscan.md) on removing liquidity from the pool using Etherscan. \ No newline at end of file +The AMM pools, and dynamic pricing schema are no longer available on the Ocean Market. Refer [this page](remove-liquidity-using-etherscan.md) on removing liquidity from the pool using Etherscan. diff --git a/using-ocean-market/remove-liquidity-using-etherscan.md b/using-ocean-market/remove-liquidity-using-etherscan.md index dd1d4e42..41814117 100644 --- a/using-ocean-market/remove-liquidity-using-etherscan.md +++ b/using-ocean-market/remove-liquidity-using-etherscan.md @@ -1,6 +1,7 @@ -# Liquidity Pools [deprecated] +# Liquidity Pools \[deprecated] In previous versions of Ocean liquidity pools and dynamic pricing were supported. These features have been deprecated and we now advise everyone to remove their liquidity from the remaining pools. It is no longer possible to do this via Ocean Market, so please follow this guide to remove your liquidity via etherscan. + ## Remove liquidity using Etherscan ### Get your balance of pool share tokens @@ -9,7 +10,7 @@ In previous versions of Ocean liquidity pools and dynamic pricing were supported 2. Click _View All_ and look for Ocean Pool Token (OPT) transfers. Those transactions always come from the pool contract, which you can click on. 3. On the pool contract page, go to _Contract_ -> _Read Contract_. -![](../.gitbook/assets/remove-liquidity-1.png) +![](<../.gitbook/assets/remove-liquidity-1 (1).png>) 4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei.