メインコンテンツへスキップ

カスタムネットワークRPCを追加する方法

MetaMask can access many more networks than just Ethereum mainnet: you can add any EVM-compatible network directly within your MetaMask, create Solana accounts, and browse non-EVM networks through Snaps.

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 will disable Smart Transaction capabilities. To re-enable this, you'll need to switch back to the default RPC URL from network settings.

On both Mobile and Extension, you can easily add several networks with just a click. You can find this using the following steps:

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

MetaMask extension locate networks menu

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

MetaMask extension add network

また、検索バーでネットワークを検索して追加することもできます。

MetaMask extension search for network to add

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'. これにより、すでに追加されているネットワークのリストが表示されます。

MetaMask extension locate networks menu

  1. Click 'Add a custom network'.

MetaMask extension add a custom network button

  1. 追加するネットワークの情報を入力できる画面が表示されます。 「保存」をクリックしてネットワークを追加します。

MetaMask extension add a custom network form

Adding or editing RPC URLs

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.

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

MetaMask extension locate networks menu

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

MetaMask extension edit existing network

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

MetaMask extension RPC URL dropdown

  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

当社は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.

  1. chainid.networkで、Chainlistサイトに移動します。

  2. Firstly, you'll need to connect your MetaMask to the site. 右上の「ウォレットを接続」を選択して接続します。

Chainlist connect wallet button

成功すると、「ウォレットを接続」ボタンが選択されたアカウントのアドレスに変わります:

Chainlist connected wallet address button

  1. ここで検索バーを使用して、接続するネットワークを見つけます。 見つかったら、「チェーンを追加」ボタンをクリックします。

Chainlist add chain button

  1. MetaMask自体が動作を開始し、承認メニューを表示します。 「承認」をクリックして、次に進みます。

MetaMask add new network from chainlist approval

  1. 続いてメニューが表示され、新しいネットワークにすぐに切り替えるかどうかを選択します。 ニーズに応じて確定あるいは拒否します。新しいネットワークはどちらを選択しても追加されます。
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.