MetaMask Integration

The world's leading Web3 wallet with support for Ethereum, Layer 2s, and multiple EVM chains. Connect your MetaMask to access the entire Ethereum ecosystem.

MetaMask Fox Logo

Multi-Chain Support

Connect to Ethereum, Polygon, Arbitrum, Optimism, and other EVM-compatible networks.

Token Management

Manage ETH, ERC-20 tokens, and NFTs with comprehensive asset support.

dApp Integration

Seamlessly interact with thousands of decentralized applications and DeFi protocols.

Interactive Demo

Wallet Connection

Quick Start

// Check if MetaMask is installed
if (typeof window.ethereum !== 'undefined') {
  // Request account access
  const accounts = await window.ethereum.request({
    method: 'eth_requestAccounts'
  });
  
  // Get the current chain ID
  const chainId = await window.ethereum.request({
    method: 'eth_chainId'
  });
  
  // Get the first account
  const address = accounts[0];
}