1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-02 08:20:22 +01:00
docs/content/tutorials/wallets-and-ocean-tokens.md

54 lines
2.7 KiB
Markdown
Raw Normal View History

2019-03-18 14:14:40 +01:00
---
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.
2019-03-18 14:14:40 +01:00
---
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.
2019-03-18 14:14:40 +01:00
## Step 1: Determine the Ocean Token Contract Address in the Network You're Using
2019-06-28 15:38:31 +02:00
If you know the URL of a Brizo instance attached to the network you're using, then just go to that URL in your web browser and get the value of `contracts.OceanToken`.
2019-07-08 17:29:12 +02:00
### Ethereum Mainnet
2019-03-18 14:14:40 +01:00
2019-07-08 17:29:12 +02:00
The Ocean Token contract address in the Ethereum Mainnet is:
2019-03-18 14:14:40 +01:00
2019-07-08 17:29:12 +02:00
[`0x985dd3D42De1e256d09e1c10F112bCCB8015AD41`](https://etherscan.io/token/0x985dd3d42de1e256d09e1c10f112bccb8015ad41)
2019-03-18 14:14:40 +01:00
2019-07-08 17:29:12 +02:00
### Pacific Network
The Ocean Token contract address in the [Pacific Network](/concepts/pacific-network/) is:
2019-03-18 14:14:40 +01:00
2019-07-08 17:29:12 +02:00
[`0x012578f9381e876A9E2a9111Dfd436FF91A451ae`](https://submarine.oceanprotocol.com/address/0x012578f9381e876a9e2a9111dfd436ff91a451ae/transactions)
2019-03-18 14:14:40 +01:00
2019-07-08 18:00:14 +02:00
### Nile Testnet
2019-07-08 17:29:12 +02:00
2019-07-08 18:00:14 +02:00
The Ocean Token contract address in the [Nile Testnet](/concepts/testnets/#the-nile-testnet) is:
[`0x9861Da395d7da984D5E8C712c2EDE44b41F777Ad`](https://submarine.nile.dev-ocean.com/address/0x9861Da395d7da984D5E8C712c2EDE44b41F777Ad)
2019-03-18 14:14:40 +01:00
### Spree or Ganache-Based Testnet
If you're using [Barge](https://github.com/oceanprotocol/barge) to run a local Spree Testnet or a local Ganache-based testnet, then you can get the address of the OceanToken contract by looking at the value of `"address"` in:
- `$HOME/.ocean/keeper-contracts/artifacts/OceanToken.spree.json` for Spree
- `$HOME/.ocean/keeper-contracts/artifacts/OceanToken.development.json` for Ganache
## Step 2: Teach Your Wallet Software about Ocean Tokens
### MetaMask Instructions
2019-07-08 18:00:14 +02:00
1. Make sure MetaMask is connected to the correct network (Pacific, Nile or whatever). See [the tutorial about how to do that](/tutorials/connect-to-networks/).
2019-07-08 17:29:12 +02:00
2. For the account you want to manage, click the `☰` (hamburger menu icon).
3. Scroll down until the `Add Token` link is visible, then click on it.
4. Click on `Custom Token`.
5. Paste the OceanToken contract address (from Step 1 above) into the "Token Contract Address" field. The other two fields should auto-fill. If they don't then something is wrong.
6. Click `Next`.
7. Click `Add Tokens`.
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).
2019-03-18 14:14:40 +01:00
### 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.