From 0d7ce6ebf55c6bed4deec33ff814a19a27aff8a6 Mon Sep 17 00:00:00 2001 From: Ana Loznianu Date: Wed, 17 May 2023 20:20:29 +0000 Subject: [PATCH] GITBOOK-157: Fix tables --- developers/core-concepts/README.md | 28 +++++++++++++++++++++++++++- discover/networks/README.md | 27 ++++----------------------- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/developers/core-concepts/README.md b/developers/core-concepts/README.md index 6bc46f73..704ed798 100644 --- a/developers/core-concepts/README.md +++ b/developers/core-concepts/README.md @@ -1,6 +1,32 @@ # Core concepts -## What is Ocean? +## Ana - Work on this + +## + +## Local / Ganache + +The most straightforward way for local-only development is to use [Barge](https://www.github.com/oceanprotocol/barge), which runs [Ganache](https://www.trufflesuite.com/ganache), Aquarius, and Provider. It is used extensively by the Ocean core devs and for automated integration testing. + +To connect to it from MetaMask, select the network called _Localhost 8545_. + +Alternatively, you can run Ganache independently. Install it according to [the Ganache docs](https://www.trufflesuite.com/ganache). Then deploy Ocean contracts onto Ganache following [docs in Ocean contracts repo](https://www.github.com/oceanprotocol/contracts). Ganache is at the RPC URL [http://localhost:8545](http://localhost:8545). + +**Tokens** + +* Ganache ETH: + * Native token to pay transaction fees + * By default, Ganache creates several Ethereum accounts at launch, gives each some ETH, and makes their private keys available in the logs. You can also instruct Ganache to give ETH to specific Ethereum addresses. +* Ganache OCEAN: + * You can deploy an ERC20 token with the label OCEAN. At a minimum, the token needs to be ERC20Detailed and ERC20Capped. You’ll see examples in the quickstarts for the Ocean JavaScript and Python drivers. + +### Other + +Some apps may need `network_id` and `chain_id`. Here's a [list of values for major Ethereum networks](https://medium.com/@piyopiyo/list-of-ethereums-major-network-and-chain-ids-2bc58e928508). + + + +What is Ocean? Ocean provides the next generation of tools to unlock data at a large scale. Ocean makes it easy to publish and consume data services. diff --git a/discover/networks/README.md b/discover/networks/README.md index ed566f57..dc80cadd 100644 --- a/discover/networks/README.md +++ b/discover/networks/README.md @@ -13,10 +13,10 @@ In each network, whether it's the Ethereum mainnet, a testnet, or the Polygon/Ma The Ethereum mainnet is a production network, which means that it is a live and operational network that handles real transactions and has actual economic value. To connect to the Ethereum mainnet using a wallet such as MetaMask, you can click on the network name dropdown and select Ethereum mainnet from the list of available networks. -| Gas Token | Mainnet ETH (Native token) | -| ----------- | -------------------------------------------------------------------------------------------------------------------- | -| OCEAN Token | [0x967da4048cD07aB37855c090aAF366e4ce1b9F48](https://etherscan.io/token/0x967da4048cD07aB37855c090aAF366e4ce1b9F48) | -| Explorer | [https://etherscan.io](https://etherscan.io) | +| Gas Token | Mainnet ETH (Native token) | +| ----------- | ------------------------------------------------------------------------------------------------------------------- | +| OCEAN Token | [0x967da4048cD07aB37855c090aAF366e4ce1b9F48](https://etherscan.io/token/0x967da4048cD07aB37855c090aAF366e4ce1b9F48) | +| Explorer | [https://etherscan.io](https://etherscan.io) | ### Polygon Mainnet @@ -94,22 +94,3 @@ If Mumbai is not listed as a predefined network in your wallet, you can connect | Mumbai OCEAN | [Faucet](https://faucet.mumbai.oceanprotocol.com/) | | Explorer | [https://mumbai.polygonscan.com](https://mumbai.polygonscan.com) | -### Local / Ganache - -The most straightforward way for local-only development is to use [Barge](https://www.github.com/oceanprotocol/barge), which runs [Ganache](https://www.trufflesuite.com/ganache), Aquarius, and Provider. It is used extensively by the Ocean core devs and for automated integration testing. - -To connect to it from MetaMask, select the network called _Localhost 8545_. - -Alternatively, you can run Ganache independently. Install it according to [the Ganache docs](https://www.trufflesuite.com/ganache). Then deploy Ocean contracts onto Ganache following [docs in Ocean contracts repo](https://www.github.com/oceanprotocol/contracts). Ganache is at the RPC URL [http://localhost:8545](http://localhost:8545). - -**Tokens** - -* Ganache ETH: - * Native token to pay transaction fees - * By default, Ganache creates several Ethereum accounts at launch, gives each some ETH, and makes their private keys available in the logs. You can also instruct Ganache to give ETH to specific Ethereum addresses. -* Ganache OCEAN: - * You can deploy an ERC20 token with the label OCEAN. At a minimum, the token needs to be ERC20Detailed and ERC20Capped. You’ll see examples in the quickstarts for the Ocean JavaScript and Python drivers. - -### Other - -Some apps may need `network_id` and `chain_id`. Here's a [list of values for major Ethereum networks](https://medium.com/@piyopiyo/list-of-ethereums-major-network-and-chain-ids-2bc58e928508).