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.
Ethereum • Linea • Base • Solana • Bitcoin • Polygon • BNB Chain • Arbitrum • OP • Sei • Avalanche • zkSync Era
Adding a popular network
On both Mobile and Extension, you can easily add several networks with just a click:
- Extension
- Mobile
- Click on the menu in the top right and select 'Networks'.
- Scroll down until you see the 'Additional networks' section and click 'Add' next to the network you wish to add.
Alternatively, you can also search for the network to add in the search bar.
- Tap the networks dropdown at the top of the 'Tokens' tab.
- ที่นี่ คุณจะเห็นรายการเครือข่ายที่เพิ่มเข้าไปแล้ว Scroll down to the 'Additional networks' section at the bottom of the screen.
- Tap the '+' icon to add a network, and you'll be prompted to confirm your selection. เสร็จแล้ว!
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:
- Extension
- Mobile
- Click on the menu in the top right and select 'Networks'. This will display a list of networks that you've added already.
- Click 'Add a custom network'.
- A screen will appear where you can enter the details of the network you wish to add. คลิก 'Save' (บันทึก) เพื่อเพิ่มเครือข่าย
- Tap the networks dropdown at the top of the 'Tokens' tab.
-
Switch to the 'Custom' tab.
-
Tap on 'Add a custom network'.
- Fill in the network's details:
หลังจากดำเนินการขั้นตอนข้างต้น คุณจะสามารถดูเครือข่ายที่กำหนดเองในตัวเลือกเครือข่ายได้
Adding or editing RPC URLs
RPC ย่อมา Remote Procedure Call ซึ่งเป็นชุดของโปรโตคอลที่อนุญาตให้ไคลเอนต์ (เช่น MetaMask) สามารถโต้ตอบกับบล็อกเชน 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.
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.
- Extension
- Mobile
- Click on the menu in the top right and select 'Networks'.
- Locate the desired network you want to edit and click the 3 dots to edit.
- Select the Default RPC URL dropdown field and click “Add RPC URL”.
- Enter the URL, nickname, and save your configurations.
- Tap the networks dropdown at the top of the 'Tokens' tab.
- Click the 3 dots by the network you want to edit and tap "Edit".
- Select the RPC URL dropdown field and click “Add RPC URL”.
- Enter the URL, nickname, and click “Save” to 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.
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
โปรดทราบว่าเราไม่ได้เก็บรักษาข้อมูลเครือข่ายบน Chainlist ตรวจสอบให้แน่ใจว่ารายละเอียดเครือข่ายถูกต้องก่อนที่จะเพิ่ม
For another way of adding networks to MetaMask, go to chainid.network, where you can connect MetaMask and add networks with a few clicks.
- Extension
- Mobile
-
ไปที่เว็บไซต์ Chainlist ที่ chainid.network
-
Firstly, you'll need to connect your MetaMask to the site. Select 'Connect' in the top right to do so.
When successful, the address of our selected account will replace the 'Connect' button:
- ตอนนี้ใช้แถบค้นหาเพื่อค้นหาเครือข่ายที่คุณต้องการเชื่อมต่อ เมื่อพบแล้ว คลิกที่ปุ่ม 'Add Chain' (เพิ่มเชน)
- MetaMask จะเริ่มทำงานและจะนำเสนอเมนูการอนุมัติแก่คุณ Click 'Confirm' to proceed.
- ไปยังเว็บไซต์ Chainlist โดยใช้ เบราว์เซอร์ในแอป MetaMask
เมื่อคุณอยู่ในเบราว์เซอร์ คุณสามารถแตะที่อยู่ในแถบเมนูด้านบนและไปที่ https://chainid.network หรือกดแว่นขยายในแถบเครื่องมือที่ด้านล่างแล้วค้นหาจากที่นั่น
- On Chainlist, you need to connect your MetaMask. บัญชีที่คุณเลือกในปัจจุบันจะเป็นบัญชีที่เชื่อมต่อโดยอัตโนมัติ คุณสามารถการแลกเปลี่ยนได้อย่างง่ายดายโดยกลับไปที่มุมมองวอลเล็ต เปลี่ยนบัญชี และกลับไปที่ Chainlist ในเบราว์เซอร์เพื่อเชื่อมต่อ
When your wallet is connected, the selected account address will be displayed where the 'Connect' button was.
- ต่อไป ค้นหาเครือข่ายที่คุณต้องการเชื่อมต่อโดยการค้นหา เมื่อคุณพบเครือข่ายดังกล่าวแล้ว ให้กด 'Add Chain' (เพิ่มเชน):
- ตอนนี้ คุณเพียงแค่ต้องอนุมัติการเพิ่มเครือข่าย