diff --git a/.gitbook/assets/cover/contribute (1) (1) (1).png b/.gitbook/assets/cover/contribute (1) (1) (1).png new file mode 100644 index 00000000..9f2be28a Binary files /dev/null and b/.gitbook/assets/cover/contribute (1) (1) (1).png differ diff --git a/.gitbook/assets/wallet/balance-of (1) (1).png b/.gitbook/assets/liquidity/remove-liquidity-2 (1) (1).png similarity index 100% rename from .gitbook/assets/wallet/balance-of (1) (1).png rename to .gitbook/assets/liquidity/remove-liquidity-2 (1) (1).png diff --git a/.gitbook/assets/liquidity/remove-liquidity-2 (1) (2).png b/.gitbook/assets/liquidity/remove-liquidity-2 (1) (2).png new file mode 100644 index 00000000..c99a54ac Binary files /dev/null and b/.gitbook/assets/liquidity/remove-liquidity-2 (1) (2).png differ diff --git a/.gitbook/assets/liquidity/remove-liquidity-2 (1) (3).png b/.gitbook/assets/liquidity/remove-liquidity-2 (1) (3).png new file mode 100644 index 00000000..c99a54ac Binary files /dev/null and b/.gitbook/assets/liquidity/remove-liquidity-2 (1) (3).png differ diff --git a/README.md b/README.md index bf21271b..a1669062 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ --- description: Help for wherever you are on your Ocean Protocol journey. -cover: .gitbook/assets/cover/contribute (1).png +cover: .gitbook/assets/cover/contribute (1) (1).png coverY: 0 layout: landing --- # 👋 Welcome -
discoverLearn about Ocean Protocol's powerful data-sharing capabilities and its potential to transform the way data is shared and monetized.discoverdiscover_card (1).png
user-guidesWhether you're new to Ocean or just need a refresher on a particular task, the "User Guiders" section is a great resource for quickly finding step-by-step instructions for what you need.user-guidesuser_guides_card (1).png
developersWhether you're building a dApp or integrating with the ecosystem, you'll find plenty of APIs, libraries, and other tools to help you get the job done.developersdeveloper_tutorials_card (1).png
data-scienceData science is the key to unlocking the true potential of decentralized data sharing.data-sciencedata_science_card (1).png
infrastructureLearn how to deploy your own components on the Ocean Protocol network.infrastructureinfrastructure_card (1).png
defiDeFi (Decentralized Finance) has taken the financial world by storm, and Ocean Protocol has been at the forefront of this movement. In this category, you'll find a wealth of tutorials and guides on various DeFi topics.defirewards_card.png
rewardsDiscover ways to earn rewards for contributing to the Ocean Protocol ecosystem. Explore bounty programs, grants, and other initiatives that can help you make an impact and earn recognition for your contributions.rewardsrewards_card.png
contributeLearn how you can contribute to the growth and development of Ocean Protocol. Whether you're interested in community initiatives, open-source projects, or other opportunities, there are many ways to get involved and make a difference.contributecontribute_card (1).png
+
discoverLearn about Ocean Protocol's powerful data-sharing capabilities and its potential to transform the way data is shared and monetized.discoverdiscover_card.png
user-guidesWhether you're new to Ocean or just need a refresher on a particular task, the "User Guiders" section is a great resource for quickly finding step-by-step instructions for what you need.user-guidesuser_guides_card.png
developersWhether you're building a dApp or integrating with the ecosystem, you'll find plenty of APIs, libraries, and other tools to help you get the job done.developersdeveloper_tutorials_card.png
data-scienceData science is the key to unlocking the true potential of decentralized data sharing.data-sciencedata_science_card.png
infrastructureLearn how to deploy your own components on the Ocean Protocol network.infrastructureinfrastructure_card.png
defiDeFi (Decentralized Finance) has taken the financial world by storm, and Ocean Protocol has been at the forefront of this movement. In this category, you'll find a wealth of tutorials and guides on various DeFi topics.defirewards_card (1).png
rewardsDiscover ways to earn rewards for contributing to the Ocean Protocol ecosystem. Explore bounty programs, grants, and other initiatives that can help you make an impact and earn recognition for your contributions.rewardsrewards_card (1).png
contributeLearn how you can contribute to the growth and development of Ocean Protocol. Whether you're interested in community initiatives, open-source projects, or other opportunities, there are many ways to get involved and make a difference.contributecontribute_card.png
diff --git a/SUMMARY.md b/SUMMARY.md index 3553c324..15381a48 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -27,7 +27,7 @@ * [How to Data Farm](user-guides/how-to-data-farm.md) * [Claim OCEAN Rewards](user-guides/claim-ocean-rewards.md) * [Liquidity Pools \[deprecated\]](user-guides/remove-liquidity-using-etherscan.md) -* [👨💻 👨💻 Developers](developers/README.md) +* [👨💻 👨💻 👨💻 Developers](developers/README.md) * [Architecture Overview](developers/architecture.md) * [Data NFTs and Datatokens](developers/datanft-and-datatoken.md) * [Roles](developers/roles.md) @@ -67,9 +67,6 @@ * [Encryption / Decryption](developers/provider/encryption-decryption.md) * [Compute Endpoints](developers/provider/compute-endpoints.md) * [Authentication Endpoints](developers/provider/authentication-endpoints.md) - * [Get Requests](developers/provider/get-requests.md) - * [Post Requests](developers/provider/post-requests.md) - * [Provider](developers/provider/provider.md) * [📊 Data Science](data-science/README.md) * [🔨 Infrastructure](infrastructure/README.md) * [Setup a Server](infrastructure/setup-server.md) diff --git a/contribute/README.md b/contribute/README.md index a99cefd1..b94e8527 100644 --- a/contribute/README.md +++ b/contribute/README.md @@ -1,7 +1,7 @@ --- title: Ways to Contribute description: Help to improve and develop Ocean core software. -cover: ../.gitbook/assets/cover/contribute (1) (2).png +cover: ../.gitbook/assets/cover/contribute (1) (1) (1).png coverY: 0 --- diff --git a/developers/datanft-and-datatoken.md b/developers/datanft-and-datatoken.md index 349159d1..6bb83d28 100644 --- a/developers/datanft-and-datatoken.md +++ b/developers/datanft-and-datatoken.md @@ -62,7 +62,7 @@ Ocean provides convenient methods to list ERC20 datatokens for sale, with fixed- ### High-Level Behavior -![High-Level Flow](<../.gitbook/assets/architecture/high-level-flow (1).png>) +![High-Level Flow](../.gitbook/assets/architecture/high-level-flow.png) Here's an example. diff --git a/developers/provider/README.md b/developers/provider/README.md index 31b1a47c..463fac17 100644 --- a/developers/provider/README.md +++ b/developers/provider/README.md @@ -1,2 +1,41 @@ +--- +description: The "Provider" service is an integral part of the Ocean Protocol stack +--- + # Provider +### What is Provider? + +It is a REST API designed specifically for the provision of data services. It essentially acts as a proxy that encrypts and decrypts the metadata and access information for the data asset. + +Constructed using the Python Flask HTTP server, the Provider service is the only component in the Ocean Protocol stack with the ability to access your data, it is an important layer of security for your information. + +The Provider service has several key functions. Firstly, it performs on-chain checks to ensure the buyer has permission to access the asset. Secondly, it encrypts the URL and metadata during the publication phase, providing security for your data during the initial upload. + +The Provider decrypts the URL when a dataset is downloaded and it streams the data directly to the buyer, it never reveals the asset URL to the buyer. This provides a layer of security and ensures that access is only provided when necessary. + +Additionally, the Provider service offers compute services by establishing a connection to the C2D environment. This enables users to compute and manipulate data within the Ocean Protocol stack, adding a new level of utility and function to this data services platform. + +### What does Provider do? + +* The only component that can access your data +* Performs checks on chain for buyer permissions and payments +* Encrypts the URL and metadata during publish +* Decrypts the URL when the dataset is downloaded or a compute job is started +* Provides access to data assets by streaming data (and never the URL) +* Provides compute services (connects to C2D environment) +* Typically run by the Data Provider + +### What technology is used? + +Python Flask HTTP server + +### How to run the provider? + +We recommend checking the README in the [Provider GitHub repository](https://www.amazon.co.uk/dp/B08XBBTLJ8/ref=twister\_B09XVHYH99?\_encoding=UTF8\&th=1) for the steps to run the Provider. If you see any errors in the instructions, please open an issue within the GitHub repository. + +### Ocean Provider Endpoints Specification + +The following pages in this section specify the endpoints for Ocean Provider that have been implemented by the core developers. + +For inspecting the errors received from `Provider` and their reasons, please revise this [document](https://github.com/oceanprotocol/provider/blob/main/ocean\_provider/routes/README.md). diff --git a/developers/provider/general-endpoints.md b/developers/provider/general-endpoints.md index 76184ed5..9850c0d6 100644 --- a/developers/provider/general-endpoints.md +++ b/developers/provider/general-endpoints.md @@ -1,7 +1,6 @@ # General Endpoints - -### nonce endpoint +### Nonce #### GET /api/services/nonce @@ -27,6 +26,8 @@ Response: } ``` +### File Info + #### POST /api/services/fileinfo Retrieves Content-Type and Content-Length from the given URL or asset. @@ -124,4 +125,4 @@ Response: { "": "" } -``` \ No newline at end of file +``` diff --git a/developers/provider/get-requests.md b/developers/provider/get-requests.md deleted file mode 100644 index f0e047eb..00000000 --- a/developers/provider/get-requests.md +++ /dev/null @@ -1,4 +0,0 @@ -# Get Requests - - - diff --git a/developers/provider/post-requests.md b/developers/provider/post-requests.md deleted file mode 100644 index c15b9c17..00000000 --- a/developers/provider/post-requests.md +++ /dev/null @@ -1,5 +0,0 @@ -# Post Requests - -### File info endpoint - - diff --git a/developers/provider/provider.md b/developers/provider/provider.md deleted file mode 100644 index 2eeff63d..00000000 --- a/developers/provider/provider.md +++ /dev/null @@ -1,18 +0,0 @@ -# Provider - -[https://v4.provider.oceanprotocol.com](https://v4.provider.oceanprotocol.com) - -## Ocean Provider Endpoints Specification - -This document specifies the endpoints for Ocean Provider to be implemented by the core developers. - -If you want to see the provider URLs for our supported networks, kindly check for `Provider` component on this [page](https://docs.oceanprotocol.com/core-concepts/networks). - -For inspecting the errors received from `Provider` and their reasons, please revise this [document](https://github.com/oceanprotocol/provider/blob/main/ocean\_provider/routes/README.md). - - -### Initial service request endpoint - - - - diff --git a/discover/wallets.md b/discover/wallets.md index 55d21a75..d5114ec4 100644 --- a/discover/wallets.md +++ b/discover/wallets.md @@ -6,7 +6,7 @@ description: Fundamental knowledge of using ERC-20 crypto wallets. Ocean Protocol users require an ERC-20 compatible wallet to manage their OCEAN and ETH tokens. In this guide, we will provide some recommendations for different wallet options. -
+
### What is a wallet? diff --git a/infrastructure/setup-server.md b/infrastructure/setup-server.md index cf250bac..9654f6fb 100644 --- a/infrastructure/setup-server.md +++ b/infrastructure/setup-server.md @@ -28,7 +28,7 @@ Select Ubuntu OS and choose a plan. The required CPU, Memory depends on the numb Also, select the region where you want Aquarius to be hosted and a root password. -![Select region](../.gitbook/assets/server-setup/server-setup3.png) +![Select region](<../.gitbook/assets/server-setup/server-setup3 (1).png>) ![Click create Droplet](../.gitbook/assets/server-setup/server-setup4.png) diff --git a/user-guides/asset-hosting/azure-cloud.md b/user-guides/asset-hosting/azure-cloud.md index 975b6f35..ff761e2e 100644 --- a/user-guides/asset-hosting/azure-cloud.md +++ b/user-guides/asset-hosting/azure-cloud.md @@ -18,41 +18,41 @@ Create an account on [Azure](https://azure.microsoft.com/en-us/). Users might al Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below. -![Select storage accounts](<../../.gitbook/assets/hosting/azure1 (1).png>) +![Select storage accounts](../../.gitbook/assets/hosting/azure1.png) **Create a new storage account** -![Create a storage account](../../.gitbook/assets/hosting/azure2.png) +![Create a storage account](<../../.gitbook/assets/hosting/azure2 (1).png>) **Fill in the details** -![Add details](<../../.gitbook/assets/hosting/azure3 (1).png>) +![Add details](../../.gitbook/assets/hosting/azure3.png) **Storage account created** -![Storage account created](../../.gitbook/assets/hosting/azure4.png) +![Storage account created](<../../.gitbook/assets/hosting/azure4 (1).png>) **Step 2 - Create a blob container** -![Create a blob container](<../../.gitbook/assets/hosting/azure5 (1).png>) +![Create a blob container](../../.gitbook/assets/hosting/azure5.png) **Step 3 - Upload a file** -![Upload a file](../../.gitbook/assets/hosting/azure6.png) +![Upload a file](<../../.gitbook/assets/hosting/azure6 (1).png>) **Step 4 - Share the file** **Select the file to be published and click Generate SAS** -![Click generate SAS](<../../.gitbook/assets/hosting/azure7 (1).png>) +![Click generate SAS](../../.gitbook/assets/hosting/azure7.png) **Configure the SAS details and click `Generate SAS token and URL`** -![Generate link to file](../../.gitbook/assets/hosting/azure8.png) +![Generate link to file](<../../.gitbook/assets/hosting/azure8 (1).png>) **Copy the generated link** -![Copy the link](../../.gitbook/assets/hosting/azure9.png) +![Copy the link](<../../.gitbook/assets/hosting/azure9 (1).png>) **Step 5 - Publish the asset using the generated link** diff --git a/user-guides/claim-ocean-rewards.md b/user-guides/claim-ocean-rewards.md index 9b0de898..157c4729 100644 --- a/user-guides/claim-ocean-rewards.md +++ b/user-guides/claim-ocean-rewards.md @@ -14,7 +14,7 @@ Want to begin [data farming](https://df.oceandao.org)? Start [here](get-veocean- Go to [https://df.oceandao.org/](https://df.oceandao.org), and click the Rewards [link](https://df.oceandao.org/activerewards) at the top of the page. -

Click the Rewards link at the top of the page

+

Click the Rewards link at the top of the page

### Step 2 - Click the pink 'Claim # OCEAN' buttons 🛎️ diff --git a/user-guides/compute-to-data/publish-a-c2d-algorithm-nft.md b/user-guides/compute-to-data/publish-a-c2d-algorithm-nft.md index ff79cd18..83b019c1 100644 --- a/user-guides/compute-to-data/publish-a-c2d-algorithm-nft.md +++ b/user-guides/compute-to-data/publish-a-c2d-algorithm-nft.md @@ -50,7 +50,7 @@ description: How to publish a C2D algorithm NFT on the Ocean Market * Your preview should look like the following: -
+
#### Step 8 - Submit the transactions diff --git a/user-guides/compute-to-data/publish-a-c2d-data-nft.md b/user-guides/compute-to-data/publish-a-c2d-data-nft.md index b0d784bd..0c4f4f99 100644 --- a/user-guides/compute-to-data/publish-a-c2d-data-nft.md +++ b/user-guides/compute-to-data/publish-a-c2d-data-nft.md @@ -78,7 +78,7 @@ description: How to publish a data NFT with C2D configurations #### Congratulations! You have fully finished the C2D flow. Check your work by verifying that your algorithm appears on the data NFT's page, like in the following example: -

Your algorithm should appear now on the data NFT's page!

+

Your algorithm should appear now on the data NFT's page!

If you would like to run the compute job, then simply click the radio button to the left of the algorithm's name and click Buy Compute Job. diff --git a/user-guides/remove-liquidity-using-etherscan.md b/user-guides/remove-liquidity-using-etherscan.md index b8dc5f00..8a661ca1 100644 --- a/user-guides/remove-liquidity-using-etherscan.md +++ b/user-guides/remove-liquidity-using-etherscan.md @@ -14,7 +14,7 @@ Liquidity pools and dynamic pricing used to be supported in previous versions of 4\. Go to field `20. balanceOf` and insert your ETH address. This will retrieve your pool share token balance in wei. -

Balance Of

+

Balance Of

5\. Copy this number as later you will use it as the `poolAmountIn` parameter.