Ga naar de hoofdinhoud

Een custom RPC-netwerk toevoegen

Moet dit artikel vertaald worden?

MetaMask can access many more networks than just Ethereum mainnet: you can add any EVM-compatible network directly within your wallet and browse Snaps for additional non-EVM interoperability.

De afkorting RPC staat voor 'remote procedure call', een reeks protocollen waarmee een client (zoals MetaMask) met een blockchain kan communiceren. 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.

opmerking

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 the network dropdown selector.

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

  • Arbitrum
  • Avalanche
  • BNB Chain/BSC
  • Base
  • Optimism
  • Polygon
  • zkSync Era

You can find this using the following steps:

Klik op de homepage van je wallet op de netwerkselector linksbovenin het scherm. Scroll down until you see the 'Additional networks' section. Alternatively, you can also search for the network to add in the search bar.

Tap the "Add" button next to the network to add it to your MetaMask instance.

MetaMask additional networks
modal

Network wisselen

MetaMask is in the process of improving the networking switching experience. As of v12.0, you will no longer have to manually switch between networks while connected to multiple dapps at the same time. This feature is currently available in Extension only.

Een netwerk handmatig toevoegen

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

  1. Klik op de knop netwerkselector. Je krijgt een lijst te zien met netwerken die je al hebt toegevoegd.

  2. Click "Add custom network":

    MetaMask add network
extension

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

    MetaMask additional networks
modal

De gegevens voor de bovenstaande velden kun je vinden in onze netwerkprofielen of documentatie (d.w.z. documentatie voor ontwikkelaars), of in de handleidingen voor elk netwerk. Bijvoorbeeld:

Nadat je de bovenstaande stappen hebt uitgevoerd, krijg je het aangepaste netwerk te zien als je de netwerkselector een volgende keer opent.

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 the network icon in the top left of your wallet to show the list of enabled networks.
  2. Locate the desired network you want to edit and click the 3 dots to edit.

MetaMask edit existing network
RPC

  1. Select the Default RPC URL dropdown field and click “Add RPC URL”.
  2. Enter the URL, nickname, and save your configurations.

MetaMask add RPC URL

You can now toggle between various RPC URLs directly from the network drop-down selector 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.

Toevoegen via Chainlist

Voor een eenvoudige manier om netwerken aan MetaMask toe te voegen, ga je naar chainid.network, waar je MetaMask kunt verbinden en netwerken kunt toevoegen met slechts een paar klikken. Zie onze gids voor meer informatie.

Houd er ook rekening mee dat het toevoegen van een netwerk op het ene apparaat, niet betekent dat het op een ander apparaat ook wordt weergegeven wanneer hetzelfde account wordt geopend. If you add it on Extension, it will not automatically be added to your MetaMask Mobile app yet, and vice versa.

Aangepaste netwerken moeten ook opnieuw worden toegevoegd, als je de browserextensie of mobiele app verwijdert (waarna je je wallet herstellen moet via je geheime herstelzin).