mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
remove token bridge
This commit is contained in:
parent
99a8735036
commit
44513f024d
@ -52,6 +52,10 @@ module.exports = {
|
||||
{
|
||||
from: '/references/squid-java/',
|
||||
to: 'https://www.javadoc.io/doc/com.oceanprotocol/squid/'
|
||||
},
|
||||
{
|
||||
from: '/tutorials/token-bridge/',
|
||||
to: '/tutorials/'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ description: The technical basics and most important infos about Ocean Tokens in
|
||||
|
||||
**Ocean Tokens** are the [cryptocurrency](https://en.wikipedia.org/wiki/Cryptocurrency) associated with Ocean Protocol. They are standards-compliant [ERC-20 tokens](https://en.wikipedia.org/wiki/ERC-20).
|
||||
|
||||
Ocean Tokens can, in principle, live in any EVM-compatible network. The [Ocean Token contract](https://github.com/oceanprotocol/keeper-contracts/blob/develop/contracts/OceanToken.sol) is deployed in the Ethereum Mainnet, Pacific Mainnet, and the Nile Testnet. The tokens sold in the Ocean Protocol token sale were in the Ethereum Mainnet.
|
||||
Ocean Tokens can, in principle, live in any EVM-compatible network. The Ocean Token contract is deployed in the Ethereum Mainnet, Pacific Mainnet, and the Nile Testnet. Only OCEAN within the Ethereum Mainnet carry any value reflected [on our token page](https://oceanprotocol.com/token).
|
||||
|
||||
| Property | Value |
|
||||
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@ -66,19 +66,6 @@ You can buy or sell Ethereum Mainnet Ocean Tokens (OCEAN) via any exchange that
|
||||
|
||||
Ocean Tokens in Ocean's Mainnet, [Pacific](/concepts/pacific-network/), represent the same value as in the Ethereum Mainnet. The only way to get Ocean Tokens in Pacific is to transfer them from the Ethereum Mainnet.
|
||||
|
||||
### Ocean Token Bridge
|
||||
|
||||
For this purpose there is a token bridge between the Ethereum Mainnet and the Pacific Network, allowing anyone with Ocean Tokens to move them from the Ethereum Mainnet to the Pacific Network, and vice versa.
|
||||
|
||||
- [**Ocean Token Bridge**](https://bridge.oceanprotocol.com)
|
||||
- [Tutorial: Transfer Ocean Tokens between Networks](/tutorials/token-bridge/)
|
||||
|
||||
[](https://bridge.oceanprotocol.com)
|
||||
|
||||
Once you have some Ocean Tokens in Pacific, you can use them for all currently-implemented Ocean Protocol tasks _in Pacific_ (e.g. buying assets from a marketplace connected to Pacific).
|
||||
|
||||
However, please be aware that transferring tokens between networks can put your Ocean Tokens at risk.
|
||||
|
||||
## Testnet Ocean Tokens
|
||||
|
||||
There are Ocean Tokens in several testnets, including the Nile testnet. They are just testnet Ocean Tokens (i.e. for testing purposes only) and they aren't interchangeable with Ethereum Mainnet Ocean Tokens. For more details, see the the [page about Testnets](/concepts/testnets/) and the [tutorials](/tutorials/introduction/).
|
||||
|
@ -38,15 +38,6 @@ Instances are deployed for:
|
||||
|
||||
<repo name="blockscout"></repo>
|
||||
|
||||
## Ocean Token Bridge
|
||||
|
||||
The Ocean Token Bridge between the Ethereum Mainnet and the Pacific Network allows anyone with Ocean Tokens to move them from the Ethereum Mainnet to the Pacific Network.
|
||||
|
||||
- [**Ocean Token Bridge**](https://bridge.oceanprotocol.com)
|
||||
- [Tutorial: Transfer Ocean Tokens between Networks](/tutorials/token-bridge/)
|
||||
|
||||
<repo name="token-bridge-ui"></repo>
|
||||
|
||||
## Ocean Network Status
|
||||
|
||||
The Ocean status page checks all Ocean network connections from your browser.
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 56 KiB |
Binary file not shown.
Before Width: | Height: | Size: 83 KiB |
Binary file not shown.
Before Width: | Height: | Size: 66 KiB |
Binary file not shown.
Before Width: | Height: | Size: 57 KiB |
Binary file not shown.
Before Width: | Height: | Size: 84 KiB |
@ -1,63 +0,0 @@
|
||||
---
|
||||
title: Transfer Ocean Tokens between Networks
|
||||
description: How to use the token bridge to transfer Ocean Tokens from the Ethereum Mainnet to the Pacific Network, and vice versa.
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
There is a token bridge between the Ethereum Mainnet and the [Pacific Network](/concepts/pacific-network/) available under [**bridge.oceanprotocol.com**](https://bridge.oceanprotocol.com) to transfer [Ocean Tokens](/concepts/ocean-tokens/) (OCEAN) between those networks.
|
||||
|
||||
[](https://bridge.oceanprotocol.com)
|
||||
|
||||
It's based on the [TokenBridge by POA Network](https://medium.com/poa-network/introducing-the-erc20-to-erc20-tokenbridge-ce266cc1a2d0) (the company), but the user interface was modified to conform to the Ocean Protocol style, and the loaded contracts are fixed to a specific security-checked version.[^1]
|
||||
|
||||
## Using the Token Bridge
|
||||
|
||||
### Ethereum Mainnet → Ocean Pacific
|
||||
|
||||
If you want to transfer OCEAN out of the Ethereum Mainnet, then first you need an Ethereum account with some OCEAN in the Ethereum Mainnet, and be connected to Ethereum Mainnet in MetaMask. If you want to get some OCEAN in the Ethereum Mainnet, then see the page about [Ocean Tokens](/concepts/ocean-tokens/).
|
||||
|
||||
Below is a screenshot of MetaMask showing an account (with address `0x8…`) which has 500 OCEAN in the Ethereum Mainnet. If you want MetaMask to show OCEAN, then see the page about [using your wallet to manage Ocean Tokens](/tutorials/wallets-and-ocean-tokens/).
|
||||
|
||||

|
||||
|
||||
To use the token bridge to transfer Ocean Tokens from the Ethereum Mainnet to the Pacific Network, go to [**bridge.oceanprotocol.com**](https://bridge.oceanprotocol.com) while being connected to the Ethereum Mainnet in MetaMask.
|
||||
|
||||
You should see something like this:
|
||||
|
||||
[](https://bridge.oceanprotocol.com)
|
||||
|
||||
The above screenshot shows that the account with address `0x8…` has 500 OCEAN in the Ethereum Mainnet and 0 OCEAN in the Pacific Network.
|
||||
|
||||
- Enter the amount of OCEAN you want to transfer (e.g. 1 OCEAN)
|
||||
- Click _Transfer_
|
||||
|
||||
A confirmation dialog box like the following should appear.
|
||||
|
||||

|
||||
|
||||
- Click _Continue_
|
||||
|
||||
After the end of some status updates you should see a success message with a transaction ID.
|
||||
|
||||
If you go back to MetaMask and switch the network to Pacific, then the account's OCEAN balance in Pacific should be higher by the amount just transferred.
|
||||
|
||||

|
||||
|
||||
### Ocean Pacific → Ethereum Mainnet
|
||||
|
||||
To go the other way around, transfering Ocean Tokens from Pacific back into the Ethereum Mainnet, you simply connect to Pacific in MetaMask when visiting [**bridge.oceanprotocol.com**](https://bridge.oceanprotocol.com).
|
||||
|
||||
This will reverse the order of the token bridge networks:
|
||||
|
||||

|
||||
|
||||
Then follow the same steps as outlined above to transfer Ocean Tokens between the networks.
|
||||
|
||||
## Reporting Issues
|
||||
|
||||
If you found something was not working right for you, feel free to reach out to us and open an issue on the [`token-bridge-ui`](https://github.com/oceanprotocol/token-bridge-ui) repository:
|
||||
|
||||
<repo name="token-bridge-ui" />
|
||||
|
||||
[^1]: The code for the Ocean Protocol version of the token bridge UI and all technical documentation is in the [oceanprotocol/token-bridge-ui](https://github.com/oceanprotocol/token-bridge-ui) repo on GitHub.
|
@ -38,7 +38,6 @@
|
||||
- name: tuna
|
||||
- name: plecos
|
||||
- name: faucet
|
||||
- name: token-bridge-ui
|
||||
- name: status
|
||||
- name: blockscout
|
||||
- name: ipfs
|
||||
|
@ -13,8 +13,6 @@
|
||||
link: /tutorials/wallets-and-ocean-tokens/
|
||||
- title: Get Ether and Ocean Tokens
|
||||
link: /tutorials/get-ether-and-ocean-tokens/
|
||||
- title: Transfer Ocean Tokens between Networks
|
||||
link: /tutorials/token-bridge/
|
||||
|
||||
- group: Storage Setup
|
||||
items:
|
||||
|
Loading…
Reference in New Issue
Block a user