Connect MetaMask to Uniswap, Aave, Lido and Other DeFi dApps

Try Tangem secure wallet →

Table of contents


Quick answer: Can you connect MetaMask to Uniswap and PancakeSwap?

Yes. Can you connect MetaMask to Uniswap? Yes — Uniswap (an EVM-compatible DEX) accepts MetaMask via the injected browser extension or via WalletConnect on mobile. And connect MetaMask to PancakeSwap? Also yes — but PancakeSwap runs on a different EVM-compatible chain (BSC/BEP-20). That means you may need to add or switch to the correct network in MetaMask before a successful connection. The rest of this guide shows step-by-step how to connect to Uniswap, Aave, Lido and PancakeSwap, plus safety and troubleshooting tips.

How dApp connections actually work

Think of a dApp connection like asking a doorman to hand a receipt to a bank teller instead of giving them your wallet. When you “Connect” a dApp, you allow it to read your public address and prompt MetaMask to create signatures or transactions on your behalf. On desktop the extension injects a provider (window.ethereum) into the site. On mobile you either use the in-app browser or WalletConnect (a QR/code handshake that links the dApp to your wallet).

Under the hood this uses JSON-RPC calls (account list, chain id, sendTransaction) and cryptographic signatures. The dApp never sees your private keys. It sends a transaction request; MetaMask shows a confirmation UI where you inspect gas fees, nonce, and the exact data you sign. Simple enough. But sloppy approvals can be expensive later (token allowances, unlimited approvals — I learned this the hard way).

Step by step: Connect MetaMask to Uniswap (desktop + mobile)

How to connect MetaMask to Uniswap — step by step.

Desktop (browser extension)

  1. Open the Uniswap site (double-check the domain).
  2. Click Connect Wallet → choose MetaMask (the site will detect the injected provider).
  3. MetaMask opens a popup asking which account to share. Select an account and click Connect.
  4. Pick the correct network (Ethereum mainnet or the supported network you want). If you need L2s, switch networks in MetaMask first.
  5. For swaps, approve the token (single approval transaction) and then confirm the swap transaction (review slippage and gas).

Mobile (in-app browser or WalletConnect)

  1. Open MetaMask mobile and use its in-app browser to visit Uniswap. Or open Uniswap in your phone browser and choose WalletConnect.
  2. If using WalletConnect, scan the QR (or confirm the pairing on mobile).
  3. Approve the connection in MetaMask mobile, then follow on-screen steps to approve tokens and sign swaps.

Want extra reading on using DEXs inside MetaMask? See using-uniswap-and-other-dexes and metamask-built-in-swap-guide.

Step by step: Connect MetaMask to Aave and Lido

Both Aave and Lido require a standard wallet connection. The flows are very similar to Uniswap but with some protocol-specific points.

If you plan to supply or stake regularly, consider using a hardware wallet for large balances (see ledger-and-hardware).

How to connect MetaMask to PancakeSwap (BSC) safely

PancakeSwap runs on an EVM-compatible chain using BEP-20 tokens. To connect MetaMask:

  1. Add the BSC network to MetaMask (Custom RPC). You’ll need to enter network name, chain ID, RPC URL and currency symbol. Only use RPC details from an official source.
  2. Switch MetaMask to BSC in the network dropdown.
  3. Visit PancakeSwap, click Connect Wallet, and choose MetaMask.
  4. For tokens you don’t see, add them manually using the contract address (double-check on a block explorer).

Be careful bridging assets between chains. Bridges can be a point of risk. Read about bridging basics in bridging-overview if you plan to move funds between Ethereum and BSC.

Mobile vs desktop vs WalletConnect — quick comparison

Method Best for Pros Drawbacks
Browser extension (desktop) Frequent desktop trading & developer work Fast dApp detection, injected provider, easy account switching Exposed to browser-based phishing if you mistype URLs
MetaMask mobile (in-app browser) Phone-first users Seamless mobile dApp experience, WalletConnect built-in Smaller screen; watch for copy-paste mistakes
WalletConnect Connecting mobile wallets to web dApps No extension required, works with many wallets Session pairing adds steps; some sites have partial WalletConnect support
Hardware (Ledger) integrated Large balances & high-risk transactions Private keys offline; safer signing Extra steps for each transaction; some dApps limit features

Security checklist before connecting to any DeFi dApp

Troubleshooting common connection issues

And yes, sometimes the popup gets blocked by an adblocker. Disable it for the site.

Who MetaMask is for — and who should look elsewhere

Who MetaMask is for:

Who should look elsewhere:

FAQ

Q: Is it safe to keep crypto in a hot wallet? A: Hot wallets are practical for daily DeFi use but come with higher exposure than cold storage. Keep only what you actively trade or stake; store the rest offline.

Q: How do I revoke token approvals? A: Use the built-in approval manager or third-party revocation tools. Search revoke-approvals and metamask-approval-management for step-by-step guides.

Q: What happens if I lose my phone? A: Restore on a new device using your seed phrase (seed-phrase-backup-and-recovery). If you used cloud backups, understand the privacy trade-offs.

Q: connect metamask to pancake swap — is it different? A: The connection flow is the same; you must be on the BSC network. Add or switch to the network in MetaMask before connecting.

Q: can you connect metamask to uniswap on mobile? A: Yes. Use the MetaMask mobile in-app browser or WalletConnect pairing from the Uniswap web UI.

Conclusion & next steps

Connecting MetaMask to Uniswap, Aave, Lido and PancakeSwap is straightforward once you understand networks, approvals, and the difference between desktop injection and WalletConnect. Start with small, low-value transactions until you’re comfortable. For installation and setup, follow the extension and mobile guides: metamask-extension-installation and metamask-mobile-guide. If you plan to swap often, check out metamask-built-in-swap-guide and swap-gas-optimization for saving on gas. Stay cautious, confirm every approval, and disconnect when you're done.

Ready to connect? Follow the step-by-step sections above and review the security checklist before you sign anything.

Try Tangem secure wallet →