Set Up & Use A MetaMask Wallet on the Polygon Network
Tags: web3, beginners, tutorial, blockchain
Published: 2022-04-20 23:11:16

One of the first things you ever want to do when getting started in the Web3 space is to set up a “wallet”. A crypto wallet is just what it sounds like — a virtual wallet that stores your tokens for different cryptocurrencies. Wallets have also become your way to log in and authorize yourself with decentralized applications (DApps). So with that said, it makes sense why having a wallet of your own is one of the first steps you need to take.

## Why MetaMask?

There are a lot of different options when it comes to choosing which wallet you want to set up. Personally, I really like MetaMask because I find it very user-friendly in its interface and extension, and it’s widely supported. I often come across a lot of smaller DApps that only support login with MetaMask.

It’s definitely one of the most popular wallets currently being used, and you won’t hesitate to find any amount of tutorials on it.

### Setting Up Your Wallet

Firstly I have an entire [video tutorial](video tutorial) walking you through this process, so if you’re a fan of video tutorials, be sure to check that out! Otherwise, let’s get started:

#### Step One: Install MetaMask

You can install MetaMask as a browser extension at [metamask.io](https://metamask.io/). It’s supported on Chrome, Firefox, Brave & Edge, so as long as you’re not stuck in the days of Internet Explorer, you should be good! 😂

If it’s your first time setting it up, I **highly recommend** watching the video of the Secret Passphrase. It’s incredibly important to understand what it is and to keep a copy of it safe and secure.

Once you’ve finished setting it up the extension should look like this:

![Wallet View 1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkqtupo3320b13i5727n.png)

#### Step 2: Add the Polygon Network

You can add the Polygon network easily by going to [https://polygonscan.com/](https://polygonscan.com/). Scroll down to the footer and click “Add Polygon Network”.

![Polygonscan Footer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0lfv45qdtncm5qmrym60.png)

This will prompt you in the wallet to add the network. It will flag a warning at the bottom asking you to verify that the chain ID yourself. The [Chain ID for Polygon is 137](https://chainlist.org/), and it’s always a good habit to get in the habit of confirming that ID is correct for extra security when you aren’t manually adding a network yourself. The network is called “Matic Mainnet”, since Matic is the currency of the network.
 
If you prefer to manually add the Polygon network, you can do so by clicking on the “Ethereum Mainnet” in your wallet and then selecting “Add A Network” at the bottom of the dropdown menu.

![Add A Network](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ilit2w1qxwex2jbnd7px.png)

You can fill out the new network as follows:

![Network Details](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o6vevm9uxz4c6iqovu3.png)
 
Now your network should be set up and look as follows:

![Wallet View 2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k05a11g05dkqhww3r1vp.png)

And that’s it! As far as the Polygon network, the setup portion is complete. You can add money to your wallet by clicking on “Buy”. It will assist you through [Transak](https://transak.com/), which is their integrated way to purchase crypto.

#### Step 3: Using The Wallet To Buy on OpenSea

So now what? Well, that depends on you. For the sake of this tutorial, we are going to discuss purchasing NFTs on OpenSea. [OpenSea](https://opensea.io/collection/codewranglrz-boos) is one of the largest marketplaces for NFTs and it supports the Polygon chain. However, they don’t process payments with Matic but actually use ETH on the Polygon chain.

![Boos!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7bdchdvfn0o5y299rfd3.png)
 
This is where a lot of people get confused but don’t worry, I’m going to walk you through it.

![Wallet View 3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fr4h6qwcy9u29yyjtzsw.png)
 
In your wallet, you’re going to hit the “Swap” button. You will need to have the amount of Matic you want to convert already in your wallet, plus a little bit extra for the gas conversion fee.

Once you’ve done that, enter the amount of Matic you want to swap to ETH, and search for ETH (Ether) in the “Swap to” section, as shown below:

![Wallet Swap View](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oe3160yeokrkbpy1sasp.png)
 
You will then see something similar to this:

![Swap View](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0gguf1eneembmvcslyp3.png)

This highlights the conversion: how much ETH you’re getting for the Matic you’re converting, as well as the estimated gas fee. Once you’ve confirmed the amount is correct, you can go ahead and hit swap.

I want to point out that this is actually WETH (Wrapped ETH). You can read more about OpenSea using WETH [here](https://support.opensea.io/hc/en-us/articles/4403264773523-How-do-I-find-my-funds-on-Polygon-).

Once you’ve converted the amount it will show it as either ETH or WETH, depending. They have the same contract address and are the same token for the sake of working with OpenSea.

How it displays after I swap the token (as ETH):
![Wallet View 4](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t80tegxdjf170csbysrr.png)

How it displays when I “import” the token (as WETH):
![Wallet View 5](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5tilim09u5pk02fffkx6.png)
 
Now, you can go to OpenSea and purchase the NFTs of your dreams! Connect OpenSea with your wallet and you’ll have your OpenSea account. The first time you make a purchase on the Polygon network you’ll need to “Unlock” the currency, which is a one-time fee. Then you’re free to buy as you wish!

If you found this article helpful and enjoy my educational content, I want to express my thanks, as well as share that I offer a lot of exclusive educational content for holders of [Boos!](https://opensea.io/collection/codewranglrz-boos), an NFT project [that I lead](https://medium.com/@codewranglrz). It would be fantastic if you would check it out, and it’s the perfect NFT for newbies because any holder gets access to the locked section of our [discord](https://discord.gg/DF3BXm45eP) where you’ll have access to chat with our devs and creators, as well as access to all the educational content that is exclusive to our holders (and we have lots more coming)!

![Boos Gif](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/flt5x8rpgh57kq619oey.gif)