Tutorials:Changing Networks: Difference between revisions
BeginnersGuide>Marin No edit summary |
(No difference)
|
Revision as of 03:39, 12 February 2025
Website Interaction: Changing Networks
Let's go back to your Metamask tab. When you connected the wallet in the previous quest, only one account was connected.
- Click on the 3 dots at the right hand side of the account name.
- Click on all permissions.
This displays the websites that you have granted permissions to read data from your account.
Disconnect your Wallet
Click on the seasonaltokens.org tab and click on disconnect.
Now the seasonaltokens.org website is disconnected from the account.
Change the network to Polygon Mainnet.
Visit Buy Tokens / Trade again, This time with Metamask connected to the Polygon network.
Look again in the Buy Tokens section. (under the red warning horizontal bar)
Your account is disconnected from the website, so the token prices table is empty.
Click on connect account to connect your Polygon account to the website.
The website now should display the information from the Polygon network.
Task:
To complete this quest get the address of the Buy tokens / Trade page when Metamask is connected to the Polygon network. Starting with the: https://seasonaltokens.org/(find the words under the green rectangle in the picture above)
Exercise
Notice the differences in price between the two networks. This can be exploited for profit and it is called "arbitrage", buying tokens where they are cheap, and selling them where they are more expensive.
However, transferring tokens from one blockchain to another using a "bridge" has certain cost associated to it. For arbitrage to make sense, it has to take into account this cost.
In the example below, we will use the Polygon bridge to send Winter tokens from the Ethereum network to their "Wrapped" versions called "Winter PoS"
Notice that the tokens have a larger value in the Polygon network, but using the Bridge will cost $7.9 The cost of using the bridge does not depend on the amount of tokens sent, therefore, you have to send enough tokens to overcome the transfer from the Ethereum network to the Polygon network.