Chuyển đến nội dung chính

How to add a custom network

MetaMask lets you connect to many different networks. Before adding one manually, check whether it’s already supported by default.

Default networks

Ethereum • Linea • Base • Solana • Bitcoin • Polygon • BNB Chain • Arbitrum • OP • Sei • Avalanche • zkSync Era

On both Mobile and Extension, you can easily add several networks with just a click:

  1. Click on the menu in the top right and select 'Networks'.

MetaMask extension dropdown menu networks

  1. Scroll down until you see the 'Additional networks' section and click 'Add' next to the network you wish to add.

MetaMask extension networks menu add additional network

Alternatively, you can also search for the network to add in the search bar.

MetaMask extension networks menu search for network

Adding a network manually

If you don’t see a desired network in the list, you can follow these instructions to establish the network connection manually:

  1. Click on the menu in the top right and select 'Networks'. This will display a list of networks that you've added already.

MetaMask extension dropdown menu networks

  1. Click 'Add a custom network'.

MetaMask extension networks menu add custom network button

  1. A screen will appear where you can enter the details of the network you wish to add. Click 'Save' to add the network.

MetaMask extension add custom network modal form

Adding or editing RPC URLs

Ba chữ đầu RPC là viết tắt của gọi hàm từ xa, là một bộ giao thức cho phép một ứng dụng khách (như MetaMask) tương tác với một chuỗi khối. You can add multiple RPC URLs for a single network and edit the default RPC URL from your list of networks in both Extension and Mobile settings.

ghi chú

Adding a custom RPC URL to Ethereum, Linea, Base, Arbitrum, or BNB Smart Chain RPC will disable Smart Transaction capabilities like MEV protection. To re-enable this, you'll need to switch back to the default RPC URL from network settings.

  1. Click on the menu in the top right and select 'Networks'.

MetaMask extension dropdown menu networks

  1. Locate the desired network you want to edit and click the 3 dots to edit.

MetaMask extension networks menu edit network details

  1. Select the Default RPC URL dropdown field and click “Add RPC URL”.

MetaMask extension networks menu edit network add rpc url

  1. Enter the URL, nickname, and save your configurations.

You can now toggle between various RPC URLs when you want to switch providers. To delete any RPC URL, follow the same steps above and click on the trash bin icon to delete.

Networks across devices

Adding a network on one device does not mean it will appear on another device when accessing the same account. If you add it on Extension, it will not automatically be added to your MetaMask Mobile app yet, and vice versa.

Custom networks will also need to be re-added if you uninstall the browser extension or mobile app (after which you'd need to restore your wallet using your Secret Recovery Phrase).

Adding via Chainlist

Xin lưu ý rằng chúng tôi không duy trì thông tin mạng trên Chainlist. Hãy chắc chắn các thông tin mạng là chính xác trước khi thêm.

For another way of adding networks to MetaMask, go to chainid.network, where you can connect MetaMask and add networks with a few clicks.

  1. Truy cập trang web Chainlist tại chainid.network.

  2. Firstly, you'll need to connect your MetaMask to the site. Select 'Connect' in the top right to do so.

Chainlist connect to site button

When successful, the address of our selected account will replace the 'Connect' button:

Chainlist connected address

  1. Giờ hãy sử dụng thanh tìm kiếm để tìm mạng bạn muốn kết nối. Sau khi đã tìm được, hãy nhấp vào nút "Thêm chuỗi".

Chainlist add chain button

  1. Bản thân MetaMask bây giờ sẽ bắt đầu hoạt động và hiển thị cho bạn một trình đơn chấp thuận. Click 'Confirm' to proceed.

MetaMask extension add network from chainlist confirmation

Was this helpful?
Connect MetaMask to provide feedback
What is this?
This is a trial feedback system that uses Verax to record your feedback as onchain attestations on Linea Mainnet. When you vote, submit a transaction in your wallet.