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

GitBook: [#7] User better quality images

This commit is contained in:
Akshay Patel 2022-08-01 09:12:56 +00:00 committed by gitbook-bot
parent 6f0c0d6aa7
commit 562d0ee450
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
18 changed files with 46 additions and 50 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 224 KiB

View File

@ -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](<images/marketplace/publish/marketplace-publish-file-field (1).png>)
![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/<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](<images/marketplace/publish/publish-google-drive (1).png>)
![Google Drive link](../.gitbook/assets/publish-google-drive.png)
**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.
![Publish - Google Drive file](<images/marketplace/publish/publish-google-drive-2 (1).png>)
![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)

View File

@ -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, youll 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. Lets check it out! Open your browser and navigate to http://localhost:8000/. Youll 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!
Thats all thats 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 youve got a fully functioning marketplace at this point, which is pretty cool. But it doesnt really look like your marketplace. Right now, its still just a clone of Ocean Market - the same branding, name, logo, etc. The next few steps focus on personalizing your marketplace.

View File

@ -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.&#x20;
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.&#x20;
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)

View File

@ -9,7 +9,7 @@ description: Data NFTs and datatokens architecture
Here is the Ocean architecture.
![Ocean Protocol tools architecture](<images/architecture (1).png>)
![Ocean Protocol tools architecture](../.gitbook/assets/architecture.png)
Heres an overview of the figure.

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.
![fixed-asset-pricing](<images/fixed-asset-pricing (1).png>)
![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](<images/free-asset-pricing (1).png>)
![free-asset-pricing](../.gitbook/assets/free-asset-pricing.png)

View File

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

View File

@ -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](<images/ddo-flow (1).png>)
<details>

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.
![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:

View File

@ -5,7 +5,7 @@
* [Ocean Market](https://market.oceanprotocol.com/) enables publishers to monetize their data and/or algorithms through blockchain technology.
* Consumers can purchase access to data, algorithms, compute services.
![Ocean Market Landing Page](../.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:

View File

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