Salta al contenuto principale

Come aggiungere un RPC di rete personalizzato

Questo articolo deve essere tradotto?

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.

L'abbreviazione RPC sta per chiamata di procedura remota, un insieme di protocolli che consentono a un client (come MetaMask) di interagire con una blockchain. 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.

nota

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. Questi ultimi includono:

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

You can find this using the following steps:

Dalla pagina principale del tuo portafoglio, fai clic sul selettore di rete nella parte in alto a sinistra dello schermo. Scorri verso il basso fino a visualizzare la sezione "Reti aggiuntive". In alternativa, puoi anche cercare la rete da aggiungere nella barra di ricerca.

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

MetaMask additional networks
modal

Network switching

MetaMask sta migliorando l'esperienza di passaggio fra le reti. A partire dalla versione v12.0, non sarà più necessario passare manualmente da una rete all'altra quando si è connessi a più dapp contemporaneamente. Questa funzione è disponibile solamente nell'Estensione.

Aggiungere una rete manualmente

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

  1. Fai clic sul pulsante del selettore di rete. Verrà visualizzato un elenco di reti a cui sei già connesso.

  2. Click "Add custom network":

    MetaMask add network
extension

  3. Verrà visualizzata una schermata in cui potrai inserire i dettagli della rete che desideri aggiungere. Click "Save" to add the network.

    MetaMask additional networks
modal

I dettagli per i campi riportati in alto sono reperibili nei nostri profili di rete o, in alternativa, nei documenti (ovvero nella documentazione per sviluppatori) o nelle guide pratiche per ciascuna rete. Ad esempio:

Dopo aver eseguito i passaggi precedenti, la prossima volta che accedi al selettore di rete sarai in grado di vedere la rete personalizzata.

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.

Aggiungere tramite Chainlist

Per aggiungere facilmente reti a MetaMask, vai su chainid.network dove puoi collegare MetaMask e aggiungere reti con pochi clic. Consulta la nostra guida per ulteriori informazioni.

Tieni presente che l'aggiunta di una rete su un dispositivo non significa che apparirà su un altro dispositivo quando si accede allo stesso account. If you add it on Extension, it will not automatically be added to your MetaMask Mobile app yet, and vice versa.

Se disinstalli l'estensione del browser o l'app mobile, dovrai aggiungere nuovamente anche le reti personalizzate (dopodiché dovresti ripristinare il tuo portafoglio usando la tua frase di recupero segreta).