From 23d8df870213f6b6633f1e23b8ad1d79385800de Mon Sep 17 00:00:00 2001 From: Akshay Patel Date: Wed, 3 Aug 2022 10:59:05 +0000 Subject: [PATCH] GitBook: [#16] Remove page "Obtaining Ethereum node provider API key" --- SUMMARY.md | 3 +-- .../deploying-components/deploying-aquarius.md | 6 +----- .../deploying-components/deploying-ocean-subgraph.md | 6 +----- .../deploying-components/deploying-provider.md | 7 ++----- building-with-ocean/obtaining-api-key.md | 11 ----------- .../using-ocean-libraries/configuration.md | 10 +++++++++- 6 files changed, 14 insertions(+), 29 deletions(-) delete mode 100644 building-with-ocean/obtaining-api-key.md diff --git a/SUMMARY.md b/SUMMARY.md index 5d42a4cb..f8a33397 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -18,13 +18,12 @@ * [Publish a data asset](using-ocean-market/marketplace-publish-data-asset.md) * [Download a data asset](using-ocean-market/marketplace-download-data-asset.md) * [Publishing with hosting services](building-with-ocean/asset-hosting.md) - * [Liquidity Pools [deprecated]](using-ocean-market/remove-liquidity-using-etherscan.md) + * [Liquidity Pools \[deprecated\]](using-ocean-market/remove-liquidity-using-etherscan.md) * [Building with Ocean](building-with-ocean/README.md) * [Build a Marketplace](building-with-ocean/build-a-marketplace/README.md) * [Forking Ocean Market](building-with-ocean/build-a-marketplace/forking-ocean-market.md) * [Customising your market](building-with-ocean/build-a-marketplace/customising-your-market.md) * [Deploying your market](building-with-ocean/build-a-marketplace/deploying-market.md) - * [Obtaining Ethereum node provider API key](building-with-ocean/obtaining-api-key.md) * [Using Ocean libraries](building-with-ocean/using-ocean-libraries/README.md) * [Configuration](building-with-ocean/using-ocean-libraries/configuration.md) * [Creating a data NFT](building-with-ocean/using-ocean-libraries/creating\_dataNFT.md) diff --git a/building-with-ocean/deploying-components/deploying-aquarius.md b/building-with-ocean/deploying-components/deploying-aquarius.md index f9d32654..7b6fbf40 100644 --- a/building-with-ocean/deploying-components/deploying-aquarius.md +++ b/building-with-ocean/deploying-components/deploying-aquarius.md @@ -12,11 +12,7 @@ Aquarius consists of two parts:\ * A server for hosting Aquarius. See [this guide](setup-server.md) on creating a server. * Docker and Docker compose are installed. Click [here](https://docs.docker.com/engine/install/) to view guide on installing docker. -* Ethereum API. Aquarius uses Ethereum api for monitoring on-chain events.\ - Choose any api provider of your choice. Some of the commonly used are: - * [Infura](https://infura.io/) - * [Alchemy](https://www.alchemy.com/) - * [Moralis](https://moralis.io/) +* [Obtain an API key](../using-ocean-libraries/configuration.md#obtaining-api-key-for-ethereum-node-provider) ### Create a working directory diff --git a/building-with-ocean/deploying-components/deploying-ocean-subgraph.md b/building-with-ocean/deploying-components/deploying-ocean-subgraph.md index bd71ab43..1f538f30 100644 --- a/building-with-ocean/deploying-components/deploying-ocean-subgraph.md +++ b/building-with-ocean/deploying-components/deploying-ocean-subgraph.md @@ -8,11 +8,7 @@ Ocean subgraph allows querying the datatoken, dataNFT, and all event information * A server for hosting Ocean subgraph. See [this guide](setup-server.md) on creating a server. * Docker and Docker compose are installed. Click [here](https://docs.docker.com/engine/install/) to view guide on installing docker. -* Ethereum API. Aquarius uses Ethereum api for monitoring on-chain events.\ - Choose any api provider of your choice. Some of the commonly used are: - * [Infura](https://infura.io/) - * [Alchemy](https://www.alchemy.com/) - * [Moralis](https://moralis.io/) +* [Obtain an API key](../using-ocean-libraries/configuration.md#obtaining-api-key-for-ethereum-node-provider) ### Create a working directory diff --git a/building-with-ocean/deploying-components/deploying-provider.md b/building-with-ocean/deploying-components/deploying-provider.md index c83b7c63..35e41a13 100644 --- a/building-with-ocean/deploying-components/deploying-provider.md +++ b/building-with-ocean/deploying-components/deploying-provider.md @@ -2,14 +2,12 @@ ### About Provider -Provider encrypts the URL and metadata during publish and decrypts the URL when the dataset is downloaded or a compute job is started. It enables the access to data assets by streaming data (and never the URL). It performs checks on chain for buyer permissions and payments. It also Provides compute services (connects to C2D environment). -The source code of Provider can be access from [here](https://github.com/oceanprotocol/provider). +Provider encrypts the URL and metadata during publish and decrypts the URL when the dataset is downloaded or a compute job is started. It enables the access to data assets by streaming data (and never the URL). It performs checks on chain for buyer permissions and payments. It also Provides compute services (connects to C2D environment). The source code of Provider can be access from [here](https://github.com/oceanprotocol/provider). ### Prerequisites * Docker and Docker compose are installed. Click [here](https://docs.docker.com/engine/install/) to view guide on installing docker. -* Ethereum API. - See [this](../obtaining-api-key.md) guide on obtaining api key. +* [Obtain an API key](../using-ocean-libraries/configuration.md#obtaining-api-key-for-ethereum-node-provider) ### Create a working directory @@ -22,7 +20,6 @@ cd Provider Copy the below content into the \`.env\` file and edit the values as needed. - {% code title=".env" %} ``` # Mandatory variables diff --git a/building-with-ocean/obtaining-api-key.md b/building-with-ocean/obtaining-api-key.md deleted file mode 100644 index 07286321..00000000 --- a/building-with-ocean/obtaining-api-key.md +++ /dev/null @@ -1,11 +0,0 @@ -# Obtaining API key for Ethereum node provider - -Ocean Protocol's smart contracts are deployed on EVM-compatible networks. Using an API key provided by a third-party Ethereum node provider allows you to interact with the Ocean Protocol's smart contract on the supported networks without requiring you to host your local node. - -Choose any API provider of your choice. Some of the commonly used are: - -* [Infura](https://infura.io/) -* [Alchemy](https://www.alchemy.com/) -* [Moralis](https://moralis.io/) - -Please refer [this page](./../core-concepts/networks.md) for more information on supported networks. \ No newline at end of file diff --git a/building-with-ocean/using-ocean-libraries/configuration.md b/building-with-ocean/using-ocean-libraries/configuration.md index 41c30945..cf69a9ca 100644 --- a/building-with-ocean/using-ocean-libraries/configuration.md +++ b/building-with-ocean/using-ocean-libraries/configuration.md @@ -2,7 +2,15 @@ ### Obtaining API key for Ethereum node provider -Ocean libraries need an Ethereum node provider API key to send transactions to the Ocean Protocol's Smart contracts. See this [guide](../obtaining-api-key.md) on getting an API key to interact with EVM compatible networks. The supported networks are listed [here](../../core-concepts/networks.md). +Ocean Protocol's smart contracts are deployed on EVM-compatible networks. Using an API key provided by a third-party Ethereum node provider allows you to interact with the Ocean Protocol's smart contracts on the supported networks without requiring you to host a local node. + +Choose any API provider of your choice. Some of the commonly used are: + +* [Infura](https://infura.io/) +* [Alchemy](https://www.alchemy.com/) +* [Moralis](https://moralis.io/) + +The supported networks are listed [here](../../core-concepts/networks.md). ### Create a directory