1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

GITBOOK-23: Updated bridges page

This commit is contained in:
Ana Loznianu 2023-04-27 12:34:43 +00:00 committed by gitbook-bot
parent cec54b1fce
commit 800d6c0288
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -27,48 +27,48 @@ All you need to do is click on the [wallet](https://wallet.polygon.technology/)
<figure><img src="../../.gitbook/assets/wallet/polygon-login.png" alt="Polygon login options"><figcaption><p>Login options</p></figcaption></figure>
You might come across the name "Matic" in some places instead of "Polygon" because the network is still using its old brand name in certain instances. Don't worry though, it's the same network whether you see Matic or Polygon. For the sake of this guide, we'll be using the name Matic in the following paragraphs because the interfaces we'll be using still use the old brand name.
You might come across the name "Matic" in some places instead of "Polygon" because the network is still using its old brand name in certain instances. Don't worry though, it's the same network whether you see Matic or Polygon.&#x20;
Check out our [blog post](https://blog.oceanprotocol.com/ocean-on-polygon-network-8abad19cbf47) for more details.
#### Deposit Tokens
When you access the wallet's main page, you'll be able to view all the tokens you possess on the Matic Mainnet. If you want to deposit tokens (i.e., transfer them from the Ethereum Mainnet), there are two ways to do it: you can either click the "deposit" button for a specific token or use the "Move funds to Matic Mainnet" option.
When you access the wallet's main page, you'll be able to view all the tokens you possess on the Polygon Mainnet. If you want to deposit tokens (i.e., transfer them from the Ethereum Mainnet), there are two ways to do it: you can either click the "deposit" button for a specific token or use the "Move funds from Ethereum to Polygon" option.
![Main wallet page](../../.gitbook/assets/wallet/polygon-wallet-page.png)
In case you are unable to find the Ocean token in the list while depositing, simply click on "Manage token list" and enable the Polygon Tokens option, which contains a greater number of listed tokens. This should add Ocean to the tokens list.
In case you are unable to find the Ocean token in the list while depositing, simply click on "Manage token list" and enable the Polygon Tokens option, which contains a greater number of listed tokens. This will add Ocean to the tokens list.
![Ocean on Matic](../../.gitbook/assets/wallet/polygon-ocean.png)
![Ocean on Polygon](../../.gitbook/assets/wallet/polygon-ocean.png)
Both of these options will redirect you to the bridge interface. If you select the second option, you'll need to use the dropdown menu to choose the token that you wish to transfer from the Ethereum Mainnet.
![Bridge interface](../../.gitbook/assets/wallet/polygon-bridge.png)
Select the amount of tokens you want to transfer and hit the "Transfer" button. The bridge interface provided by Matic will guide you through all the necessary steps, including signing two transactions on the Ethereum Mainnet. The first transaction involves giving permission for the tokens to be traded on Matic's bridge, while the second transaction is the actual deposit.
Select the number of tokens you want to transfer and hit the "Transfer" button. The bridge interface provided by Polygon will guide you through all the necessary steps, including signing two transactions on the Ethereum Mainnet. The first transaction involves giving permission for the tokens to be traded on Polygon's bridge, while the second transaction is the actual deposit.
#### Withdraw Tokens
The process of withdrawing tokens also utilizes the bridge interface, but this time the withdrawal will happen from Matic to the Ethereum Mainnet. The bridge interface will guide you through all the necessary steps for this process as well.
The process of withdrawing tokens also utilizes the bridge interface, but this time the withdrawal will happen from Polygon to the Ethereum Mainnet. The bridge interface will guide you through all the necessary steps for this process as well.
For more detailed information about depositing and withdrawing actions, you can refer to the official Polygon [documentation](https://wiki.polygon.technology/docs/develop/ethereum-polygon/plasma/eth/).
#### Sending Tokens
Unlike the first two cases where transactions are signed on the Ethereum Mainnet, transferring tokens between two Matic addresses takes place on the Matic Mainnet. As a result, it's necessary to connect to the Matic network in order to sign these transactions. Setting up the network on Metamask can be done in several ways.
Unlike the first two cases where transactions are signed on the Ethereum Mainnet, transferring tokens between two Matic addresses occurs on the Polygon Mainnet. As a result, it's necessary to connect to the Polygon network in order to sign these transactions. Setting up the network on Metamask can be done in several ways.
The easiest one is to go to the [polygon network explorer](https://polygonscan.com/) and tap on the "Add polygon network" button.
The easiest one is to go to the [polygon network explorer](https://polygonscan.com/) and tap the "Add polygon network" button.
<figure><img src="../../.gitbook/assets/wallet/polygon-explorer.png" alt=""><figcaption></figcaption></figure>
Alternatively, you can manually configure the network on Metamask by using the following parameters. To learn how to set up a custom network in Metamask using these values, you can refer to our guide.
| What | Value |
| ------------------ | --------------------------------- |
| Network Name | `Matic Mainnet` |
| RPC | `https://polygon-rpc.com/` |
| Chain Id | `137` |
| Currency Symbol | `MATIC` |
| Block Explorer URL | `https://explorer.matic.network/` |
| What | Value |
| ------------------ | ---------------------------------------------------- |
| Network Name | Polygon |
| RPC | `https://polygon-rpc.com/` |
| Chain Id | `137` |
| Currency Symbol | `MATIC` |
| Block Explorer URL | [`https://polygonscan.com`](https://polygonscan.com) |
Follow our guide to learn how to use those values to [set up a custom network in MetaMask](../metamask-setup.md#set-up-custom-network).