GitBook: [#9] Re-organize content: Compute-to-Data

This commit is contained in:
Akshay Patel 2022-07-03 11:35:23 +00:00 committed by gitbook-bot
parent 92893cc738
commit c3c9b9df4d
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
11 changed files with 60 additions and 71 deletions

View File

@ -1,24 +1,21 @@
# Table of contents
* [Orientation](README.md)
* [Wallet Basics](introduction/wallets.md)
* [Set Up MetaMask Wallet](introduction/metamask-setup.md)
* [Use Your Wallet to Manage OCEAN Tokens](introduction/wallets-and-ocean-tokens.md)
* [Wallet Basics](building-with-ocean/wallets.md)
* [Set Up MetaMask Wallet](building-with-ocean/metamask-setup.md)
* [Use Your Wallet to Manage OCEAN Tokens](building-with-ocean/wallets-and-ocean-tokens.md)
* [Core Concepts](core-concepts/README.md)
* [Architecture Overview](core-concepts/architecture.md)
* [Asset pricing](core-concepts/asset-pricing.md)
* [Contributor Code of Conduct](core-concepts/code-of-conduct.md)
* [Compute-to-Data](core-concepts/compute-to-data.md)
* [Ways to Contribute](core-concepts/contributing.md)
* [Data NFTs and Datatokens](core-concepts/datanft-and-datatoken.md)
* [DID & DDO](core-concepts/did-ddo.md)
* [Data NFTs and datatoken roles](core-concepts/roles.md)
* [Supported Networks](core-concepts/networks.md)
* [Fees](core-concepts/fees.md)
* [Asset pricing](core-concepts/asset-pricing.md)
* [DID & DDO](core-concepts/did-ddo.md)
* [Contributor Code of Conduct](core-concepts/code-of-conduct.md)
* [Ways to Contribute](core-concepts/contributing.md)
* [Funding](core-concepts/get-funding.md)
* [Legal Requirements when Contributing Code](core-concepts/legal-reqs.md)
* [Supported Networks](core-concepts/networks.md)
* [Projects using Ocean Protocol](core-concepts/projects-using-ocean.md)
* [Quickstart](core-concepts/quickstart.md)
* [Data NFTs and datatoken roles](core-concepts/roles.md)
* [Reporting Vulnerabilities](core-concepts/vulnerabilities.md)
* [API references](api-references/README.md)
* [Aquarius REST API](api-references/aquarius-rest-api.md)
@ -27,12 +24,14 @@
* [Publish assets using hosting services](building-with-ocean/asset-hosting.md)
* [Binance Smart Chain (BSC)](building-with-ocean/bsc-bridge.md)
* [Writing Algorithms for Compute to Data](building-with-ocean/compute-to-data-algorithms.md)
* [Compute-to-Data](building-with-ocean/compute-to-data-architecture.md)
* [Compute-to-Data](building-with-ocean/compute-to-data-datasets-algorithms.md)
* [Setting up private docker registry for Compute-to-Data environment](building-with-ocean/compute-to-data-docker-registry.md)
* [Minikube Compute-to-Data Environment](building-with-ocean/compute-to-data-minikube.md)
* [Set Up a Marketplace](building-with-ocean/marketplace.md)
* [Polygon (ex Matic)](building-with-ocean/polygon-bridge.md)
* [Projects using Ocean Protocol](building-with-ocean/projects-using-ocean.md)
* [Compute-to-Data](building-with-ocean/compute-to-data/README.md)
* [Architecture](building-with-ocean/compute-to-data/compute-to-data-architecture.md)
* [Datasets & Algorithms](building-with-ocean/compute-to-data/compute-to-data-datasets-algorithms.md)
* [Minikube Compute-to-Data Environment](building-with-ocean/compute-to-data/compute-to-data-minikube.md)
* [Setting up private docker registry](building-with-ocean/compute-to-data/compute-to-data-docker-registry.md)
* [Using Ocean Market](building-with-ocean/marketplace-introduction.md)
* [Publish a data asset](building-with-ocean/marketplace-publish-data-asset.md)
* [Download a data asset](building-with-ocean/marketplace-download-data-asset.md)

View File

@ -5,7 +5,7 @@ description: >-
algorithms in a C2D environment.
---
# Setting up private docker registry for Compute-to-Data environment
# Setting up private docker registry
The document is intended for a production setup. The tutorial provides the steps to setup a private docker registry on the server for the following scenarios:
@ -310,6 +310,6 @@ You can publish an algorithm asset with the metadata containing registry URL, im
### Further references
* [Setup Compute-to-Data environment](../tutorials/compute-to-data-minikube/)
* [Writing algorithms](../tutorials/compute-to-data-algorithms/)
* [C2D example](../references/read-the-docs/ocean-py/READMEs/c2d-flow.md)
* [Setup Compute-to-Data environment](../../tutorials/compute-to-data-minikube/)
* [Writing algorithms](../../tutorials/compute-to-data-algorithms/)
* [C2D example](../../references/read-the-docs/ocean-py/READMEs/c2d-flow.md)

View File

@ -1,5 +1,4 @@
---
title: Set Up MetaMask Wallet
description: Tutorial about how to set up MetaMask for Chrome.
---
@ -11,23 +10,23 @@ 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.
<img src="../building-with-ocean/images/metamask-chrome-extension.png" alt="metamask-chrome-store" data-size="original">
<img src="images/metamask-chrome-extension.png" alt="metamask-chrome-store" data-size="original">
* 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`:
<img src="../building-with-ocean/images/create-new-metamask-wallet.png" alt="Create a wallet" data-size="original">
<img src="images/create-new-metamask-wallet.png" alt="Create a wallet" data-size="original">
* 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.
<img src="../building-with-ocean/images/secret-backup-phrase.png" alt="Secret Backup Phrase" data-size="original">
<img src="images/secret-backup-phrase.png" alt="Secret Backup Phrase" data-size="original">
* Continue forward. On the next page, MetaMask will ask you to confirm the backup phrase. Select the words in the correct sequence:
<img src="../building-with-ocean/images/confirm-backup-phrase.png" alt="Confirm secret backup phrase" data-size="original">
<img src="images/confirm-backup-phrase.png" alt="Confirm secret backup phrase" data-size="original">
* Voila! Your account is now created. You can access MetaMask via the browser extension in the top right corner of your browser.
<img src="../building-with-ocean/images/metamask-browser-extension.png" alt="MetaMask browser extension" data-size="original">
<img src="images/metamask-browser-extension.png" alt="MetaMask browser extension" data-size="original">
* 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.
<img src="../building-with-ocean/images/manage-tokens.png" alt="Manage tokens" data-size="original">
<img src="images/manage-tokens.png" alt="Manage tokens" data-size="original">
You can also watch our [tutorial video snippets](https://www.youtube.com/playlist?list=PL\_dn0wVs9kWolBCbtHaFxsi408cumOeth) if you want more help setting up MetaMask.
@ -37,7 +36,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](images/metamask-add-network.png)
There are a few empty inputs we need to fill:

View File

@ -1,53 +1,56 @@
---
title: Use Your Wallet to Manage OCEAN Tokens
description: How to use crypto wallet software to check your Ocean Token balance and to send Ocean Tokens to others.
description: >-
How to use crypto wallet software to check your Ocean Token balance and to
send Ocean Tokens to others.
---
# Use Your Wallet to Manage OCEAN Tokens
If you don't see any Ocean Tokens in your crypto wallet software (e.g. MetaMask or MyEtherWallet), don't worry! It might not know how to manage Ocean Tokens yet.
## Token Information
### Token Information
Almost all ERC-20 wallets require these values for adding a custom token:
**Mainnet**
- Contract Address: `0x967da4048cD07aB37855c090aAF366e4ce1b9F48`
- Symbol: `OCEAN`
- Decimals: `18`
* Contract Address: `0x967da4048cD07aB37855c090aAF366e4ce1b9F48`
* Symbol: `OCEAN`
* Decimals: `18`
**Polygon Mainnet (previously Matic)**
- Contract Address: `0x282d8efCe846A88B159800bd4130ad77443Fa1A1`
- Symbol: `mOCEAN`
- Decimals: `18`
* Contract Address: `0x282d8efCe846A88B159800bd4130ad77443Fa1A1`
* Symbol: `mOCEAN`
* Decimals: `18`
**Binance Smart Chain (BSC)**
- Contract Address: `0xdce07662ca8ebc241316a15b611c89711414dd1a`
- Symbol: `OCEAN`
- Decimals: `18`
* Contract Address: `0xdce07662ca8ebc241316a15b611c89711414dd1a`
* Symbol: `OCEAN`
* Decimals: `18`
**Rinkeby**
- Contract Address: `0x8967BCF84170c91B0d24D4302C2376283b0B3a07`
- Symbol: `OCEAN`
- Decimals: `18`
* Contract Address: `0x8967BCF84170c91B0d24D4302C2376283b0B3a07`
* Symbol: `OCEAN`
* Decimals: `18`
**Ropsten**
- Contract Address: `0x5e8DCB2AfA23844bcc311B00Ad1A0C30025aADE9`
- Symbol: `OCEAN`
- Decimals: `18`
* Contract Address: `0x5e8DCB2AfA23844bcc311B00Ad1A0C30025aADE9`
* Symbol: `OCEAN`
* Decimals: `18`
**Mumbai**
- Contract Address: `0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8`
- Symbol: `OCEAN`
- Decimals: `18`
* Contract Address: `0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8`
* Symbol: `OCEAN`
* Decimals: `18`
The [OCEAN Token page](https://oceanprotocol.com/token) at oceanprotocol.com has further details.
## MetaMask
### MetaMask
1. Make sure MetaMask is connected to the Ethereum Mainnet.
2. Select the account you want to manage.
@ -59,6 +62,6 @@ The [OCEAN Token page](https://oceanprotocol.com/token) at oceanprotocol.com has
MetaMask should now show your Ocean Token (OCEAN) balance, and when you're looking at that, there should be a `Send` button to send Ocean Tokens to others. For help with that, see [the MetaMask docs about how to send tokens](https://metamask.zendesk.com/hc/en-us/articles/360015488931-How-to-Send-Tokens).
## Other Wallet Software
### Other Wallet Software
Do a web search to find out how to add a custom ERC-20 token to the wallet software you're using.

View File

@ -1,17 +1,14 @@
---
title: Wallet Basics
description:
---
# Wallet Basics
Ocean users need an ERC-20 compatible wallet to manage their ETH and OCEAN tokens.
Ocean users need an ERC-20 compatible wallet to manage their ETH and OCEAN tokens.
## Recommendations
### Recommendations
- **Easiest:** Use [MetaMask](https://metamask.io/) browser plug-in.
- **Still easy, but more secure:** Get a [Trezor](https://trezor.io/) or [Ledger](https://www.ledger.com/) hardware wallet, and use MetaMask to interact with it.
- The [OCEAN Token page](https://oceanprotocol.com/token) at oceanprotocol.com lists some other possible wallets.
* **Easiest:** Use [MetaMask](https://metamask.io/) browser plug-in.
* **Still easy, but more secure:** Get a [Trezor](https://trezor.io/) or [Ledger](https://www.ledger.com/) hardware wallet, and use MetaMask to interact with it.
* The [OCEAN Token page](https://oceanprotocol.com/token) at oceanprotocol.com lists some other possible wallets.
## The Meaning of "Wallet"
### The Meaning of "Wallet"
A wallet usually means "a thing that stores private keys (and maybe signs transactions)" (explained below). Examples include MetaMask, Trezor, and Ledger wallets.
@ -19,7 +16,7 @@ A wallet can sometimes mean (web3) _software_ for interacting with a thing that
Note how MetaMask is in both lists!
## Related Terminology
### Related Terminology
When you set up a new wallet, it might generate a **seed phrase** for you. Store that seed phrase somewhere secure and non-digital (e.g. on paper in a safe). It's extremely secret and sensitive. Anyone with your wallet's seed phrase could spend all the Ether and Ocean Tokens in all the accounts in your wallet.

View File

@ -1,9 +0,0 @@
---
title: Quickstart
description:
---
These drivers each have their own quickstart. Pick your favorite and have fun!
- [ocean.js](https://github.com/oceanprotocol/ocean.js/blob/main/README.md)
- [ocean.py](https://github.com/oceanprotocol/ocean.py)