Come aggiungere un RPC di rete personalizzato
Questo articolo deve essere tradotto?
Invia traduzioni, correzioni e suggerimenti su GitHub, oppure contattaci tramite i forum della nostra community.
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.
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:
- Estensione
- App mobile
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.
-
Tocca il selettore di rete nella parte superiore dello schermo. (In alternativa, puoi toccare l'icona a forma di ingranaggio per accedere alle impostazioni e poi andare su "Reti".)
-
Qui vedrai un elenco di reti che hai già aggiunto. Tap the "Add Network" button at the bottom of the screen.
-
You should now see a list of networks you can add under the "Popular" tab, as shown below.
-
When you choose to add one of them, you'll be prompted to confirm your selection and then get the option to switch immediately to that network. Finito!
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:
- Estensione
- App mobile
-
Fai clic sul pulsante del selettore di rete. Verrà visualizzato un elenco di reti a cui sei già connesso.
-
Click "Add custom network":
-
Verrà visualizzata una schermata in cui potrai inserire i dettagli della rete che desideri aggiungere. Click "Save" to add the network.
-
Tocca il selettore di rete nella parte superiore dello schermo.
-
Tap on "Add Network".
-
Switch to the "Custom networks" tab.
-
Inserisci i dettagli della rete:
Dopo aver eseguito i passaggi precedenti, sarai in grado di vedere la rete personalizzata nel selettore di reti.
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.
- Estensione
- App mobile
- Click the network icon in the top left of your wallet to show the list of enabled 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 network selector at the top in the middle of your wallet to show the list of enabled networks
- Click the 3 dots by the network you want to edit
- Select the Default RPC URL downtown field and click “Add RPC URL”
- Enter the URL, nickname, and click “Add URL” to save your configurations
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).