教程8 分钟阅读

如何在 MetaMask 中添加网络

了解如何将自定义区块链网络添加到你的 MetaMask 钱包。本指南涵盖如何添加 BNB Chain、Polygon、Arbitrum 等热门网络,并提供可直接使用的配置。

推荐码

TRADEOFF20

首次交易前请确认 TRADEOFF20 的费用条款

立即注册

推荐码

TRADEOFF20

首次交易前请确认 TRADEOFF20 的费用条款

立即注册

Why Add Custom Networks?

Lower Fees

L2s like Arbitrum & Base offer 10-100x cheaper transactions

More DApps

Access DEXs, NFT markets, and DeFi on multiple chains

Faster Transactions

Some networks confirm transactions in under 1 second

How to Add a Network

1

Open MetaMask

Click the MetaMask extension icon in your browser toolbar

2

Open Network Menu

Click the network dropdown at the top (shows "Ethereum Mainnet" by default)

3

Add Network

Click "Add network" button at the bottom of the dropdown

4

Choose Method

Select "Add a network manually" or search from the popular networks list

5

Enter Details

Fill in Network Name, RPC URL, Chain ID, Symbol, and Block Explorer

6

Save & Switch

Click "Save" to add the network and switch to it

Quick Method: Use ChainList

ChainList.org lets you add networks with one click. Simply connect your wallet and click "Add to MetaMask" on any network.

Visit ChainList.org

Popular Networks & Configurations

🔶

BNB Smart Chain

Chain ID: 56

Network Name

BNB Smart Chain

RPC URL

https://bsc-dataseed.binance.org

Chain ID

56

Currency Symbol

BNB

Block Explorer

https://bscscan.com

Testnets for Developers

Sepolia Testnet

Chain ID: 11155111

Symbol: SepoliaETH

Get free testnet tokens

Goerli Testnet

Chain ID: 5

Symbol: GoerliETH

Get free testnet tokens

Mumbai Testnet

Chain ID: 80001

Symbol: MATIC

Get free testnet tokens

Security Warning

  • Only use RPC URLs from official project documentation or trusted sources like ChainList
  • Double-check Chain IDs before adding - wrong IDs can cause lost transactions
  • Be cautious of phishing sites that mimic legitimate network setup pages

Troubleshooting Common Issues

❌ Network not switching

Try disconnecting and reconnecting your wallet, or restart your browser. Check if the RPC endpoint is responding.

❌ Balance shows 0

You may not have tokens on this network yet. You need to bridge assets from another chain or receive tokens on this specific network.

❌ Transaction pending forever

The network may be congested or RPC may be slow. Try a different RPC endpoint or increase gas price.

❌ "Could not fetch chain ID"

The RPC URL may be incorrect or the endpoint is down. Verify the URL or try an alternative RPC endpoint.

Frequently Asked Questions

分享:

Analytics preferences

We use Google Analytics 4 (GA4) to measure traffic and CTA performance. In the EEA, UK, and Switzerland, analytics stays off until you accept. You can change this later from Cookie Settings.

Current region: unknown (consent required)

Privacy Policy