diff --git a/config.js b/config.js index b2d64025..cc6f683a 100644 --- a/config.js +++ b/config.js @@ -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/' } ] } diff --git a/content/concepts/ocean-tokens.md b/content/concepts/ocean-tokens.md index 86160be4..4e756adb 100644 --- a/content/concepts/ocean-tokens.md +++ b/content/concepts/ocean-tokens.md @@ -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/) - -[![The Ocean token bridge user interface](../tutorials/images/tb02.png)](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/). diff --git a/content/concepts/tools.md b/content/concepts/tools.md index ae937361..bf9572b4 100644 --- a/content/concepts/tools.md +++ b/content/concepts/tools.md @@ -38,15 +38,6 @@ Instances are deployed for: -## 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/) - - - ## Ocean Network Status The Ocean status page checks all Ocean network connections from your browser. diff --git a/content/tutorials/images/tb01.png b/content/tutorials/images/tb01.png deleted file mode 100644 index 8ee7d34b..00000000 Binary files a/content/tutorials/images/tb01.png and /dev/null differ diff --git a/content/tutorials/images/tb02.png b/content/tutorials/images/tb02.png deleted file mode 100644 index 50abbb80..00000000 Binary files a/content/tutorials/images/tb02.png and /dev/null differ diff --git a/content/tutorials/images/tb03.png b/content/tutorials/images/tb03.png deleted file mode 100644 index b0b57e42..00000000 Binary files a/content/tutorials/images/tb03.png and /dev/null differ diff --git a/content/tutorials/images/tb06.png b/content/tutorials/images/tb06.png deleted file mode 100644 index 9cf54a56..00000000 Binary files a/content/tutorials/images/tb06.png and /dev/null differ diff --git a/content/tutorials/images/tb07.png b/content/tutorials/images/tb07.png deleted file mode 100644 index f9949cf9..00000000 Binary files a/content/tutorials/images/tb07.png and /dev/null differ diff --git a/content/tutorials/token-bridge.md b/content/tutorials/token-bridge.md deleted file mode 100644 index 7a395b9c..00000000 --- a/content/tutorials/token-bridge.md +++ /dev/null @@ -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. - -[![The Ocean token bridge user interface](images/tb02.png)](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/). - -![MetaMask showing an account that has 500 OCEAN in the Ethereum Mainnet](./images/tb01.png) - -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: - -[![From Ethereum Mainnet to Ocean Pacific](images/tb02.png)](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. - -![Confirmation dialog box](./images/tb03.png) - -- 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. - -![MetaMask showing an account that has 1 OCEAN in the Pacific Network](./images/tb06.png) - -### 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: - -![From Pacific to Ethereum Mainnet](./images/tb07.png) - -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: - - - -[^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. diff --git a/data/repositories.yml b/data/repositories.yml index a957ad76..ff6ca38f 100644 --- a/data/repositories.yml +++ b/data/repositories.yml @@ -38,7 +38,6 @@ - name: tuna - name: plecos - name: faucet - - name: token-bridge-ui - name: status - name: blockscout - name: ipfs diff --git a/data/sidebars/tutorials.yml b/data/sidebars/tutorials.yml index 7c09cb56..0dd00460 100644 --- a/data/sidebars/tutorials.yml +++ b/data/sidebars/tutorials.yml @@ -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: