In metamask we can not only store and transfer coins, we can also buy coins in pancake swap using metamask.
You can use PancakeSwap with MetaMask and swap BEP20 tokens and stake CAKE & LP tokens. If you want to use PancakeSwap with MetaMask, you should first set up your MetaMask wallet and then connect it to Binance Smart Chain.
You can follow our MetaMask tutorial to set up your MetaMask wallet and learn how to use it.
If you already have a MetaMask wallet but have not connected it to Binance Smart Chain yet, first click ”Ethereum Mainnet” and then click ”custom RPC” on your wallet to add the BSC network to MetaMask.
Fill out the required fields with the information below and your MetaMask wallet will be connected to Binance Smart Chain.
- Network Name: Smart Chain
- New RPC URL: https://bsc-dataseed.binance.org/
- ChainID: 56
- Symbol: BNB
- Block Explorer URL: https://bscscan.com
To connect your MetaMask wallet to PancakeSwap, first, unlock your MetaMask wallet and then switch to the Binance Smart Chain network.
After unlocking your MetaMask wallet which is connected to Binance Smart Chain, visit PancakeSwap to connect your wallet to the platform.
Click the ”connect” button on PancakeSwap and then choose ”MetaMask” to connect your wallet to PancakeSwap.
After clicking ”MetaMask”, you can choose the address (account) that you want to connect to PancakeSwap and then click the ”connect” button on the MetaMask notification.
If you use MetaMask’s mobile version, you can use the ”WalletConnect” option to connect your wallet to PancakeSwap.
If you plan to use Binance Smart Chain dapps such as PancakeSwap, you need BNB in your MetaMask wallet to pay for transaction fees.
Also, if you want to stake CAKE on PancakeSwap, you can send CAKE from Binance or other exchanges to your MetaMask wallet.
Once you have some BNB in your MetaMask wallet for gas fees on the BSC network, you can go the exchange page on PancakeSwap and start trading.
If you want to sell a particular BEP20 token on PancakeSwap, you can transfer it from exchanges or other wallets to your MetaMask address.
To buy BEP20 tokens on PancakeSwap, you can mostly use BNB, BUSD (BEP20), and CAKE. There are also BTCB and ETH pairs on the platform.
To trade on PancakeSwap, first click the ”exchange” page under the trade menu.
Choose the token you want to swap and enter the amount, and choose the token you want to receive in the ”to” field.
In the example below, I am selling my USDT (Binance-Peg BUSD-T) for BNB.
After choosing the tokens and entering the amount, you should approve the token you want to swap which will allow the smart contract to spend your token.
Click the ”approve” button and confirm the transaction on your MetaMask wallet. As you can see in the image below, it only costs $0.15 and you need BNB in your wallet to make an ”approve” transaction.
Transaction fees may change depending on the network, so don’t expect to pay exactly $0.15. But, in general, Binance Smart Chain is much cheaper than Ethereum.
After approving the token you want to swap, you can click the ”swap” button and confirm the transaction on your MetaMask wallet.
When you make a trade on PancakeSwap, you’ll pay a 0.25% trading fee. In this example, I’ll pay a 0.0928 USDT swap fee (37.1249/100*0.25).
Before making the trade, you can also change your slippage tolerance and the transaction deadline by clicking the settings icon.
After clicking the swap button, check the rates again and then click the confirm swap button. You can see the transaction on BscScan and under the activity tab on your MetaMask wallet.
Join Coinmonks Telegram Channel and Youtube Channel learn about crypto trading and investing
Also Read
As an enthusiast with a deep understanding of blockchain technology, decentralized finance (DeFi), and cryptocurrency ecosystems, I've actively engaged in exploring and using various platforms, including MetaMask and PancakeSwap. My involvement in the space includes hands-on experiences in setting up wallets, connecting to different networks, and executing transactions on decentralized exchanges.
In the provided article by Ryandi Pratama Purba, the focus is on utilizing MetaMask to interact with PancakeSwap on the Binance Smart Chain (BSC). Let's break down the concepts mentioned in the article:
-
MetaMask Wallet Setup:
- MetaMask is a popular Ethereum wallet that allows users to interact with decentralized applications (dApps).
- The article emphasizes the importance of setting up MetaMask and connecting it to the Binance Smart Chain.
-
Connecting MetaMask to Binance Smart Chain:
- The article provides step-by-step instructions for connecting MetaMask to the BSC. This involves adding the BSC network to MetaMask with specific details such as Network Name, RPC URL, ChainID, Symbol, and Block Explorer URL.
-
Connecting MetaMask to PancakeSwap:
- Once MetaMask is connected to BSC, users can connect it to PancakeSwap by visiting the platform and using the "connect" button. This involves choosing MetaMask as the wallet provider and selecting the desired address.
-
Preparing for Transactions on PancakeSwap:
- To use Binance Smart Chain dApps like PancakeSwap, users need BNB in their MetaMask wallet for transaction fees.
- Additionally, the article mentions the process of staking CAKE (PancakeSwap's native token) and the option to transfer CAKE from Binance or other exchanges to MetaMask.
-
Trading on PancakeSwap:
- The article guides users through the process of trading on PancakeSwap. This includes navigating to the exchange page, selecting tokens to swap, entering amounts, approving the transaction, and paying transaction fees in BNB.
-
Transaction Fees and Confirmation:
- The article explains that transaction fees on Binance Smart Chain are generally lower than on Ethereum. It details the steps to approve and confirm transactions using MetaMask.
-
Slippage Tolerance and Settings:
- Users are advised to check and potentially adjust slippage tolerance and transaction deadline settings before confirming a trade.
-
Trading Fee on PancakeSwap:
- A 0.25% trading fee is mentioned for trades on PancakeSwap, and the article provides an example calculation of the swap fee.
This breakdown covers the key concepts in the article, offering a comprehensive understanding of how to use MetaMask with PancakeSwap on the Binance Smart Chain for buying and trading BEP20 tokens.