What is a custom RPC? How do I add a network to MetaMask?
Everything you need to know about RPCs!
In this article:
- What is a Remote Procedure Call (RPC)?
- Why do we need RPCs?
- How do I connect to an RPC using MetaMask?
- List of RPCs
What is a Remote Procedure Call (RPC)?
If you've ever sent tokens on the wrong network, you'll need the original network's RPC in order to recover them.
You can't use RPCs in Exodus.
However, it's possible to connect to custom networks using RPCs in MetaMask.
The acronym RPC stands for Remote Procedure Call. RPCs allow communications with servers remotely and provide the ability to execute programs in a separate location. In blockchain terms, an RPC allows access to a server node on the specified network and allows you to communicate and interact with that blockchain.
RPC data can often be found in the network's official development documents.
Why do we need RPCs?
In order to interact with a blockchain, we need a way to access the network servers through a suitable and generic option to perform operations like viewing a balance, creating a transaction, or interacting with a smart contract. RPCs are what give us the ability to establish that connection with the servers.
When a developer creates a decentralized application (dApp) with RPC capabilities, a user will then be able to perform requests and interact with the blockchain. For example, if you've ever used a decentralized exchange (DEX) by connecting a wallet, your connection and communications are being routed through an RPC to communicate with a blockchain server.
How do I connect to an RPC using MetaMask?
It's possible to connect to a custom network using compatible RPC data by using the MetaMask wallet.
MetaMask is a third-party platform that is not affiliated with Exodus. As such, Exodus cannot guarantee the performance of its products/services or that the steps shown and the information provided will always be accurate.
You can connect to a custom network by following these steps:
- Go to MetaMask's website and download the MetaMask wallet.
After installing and securing your 12-word secret recovery phrase, a) click on
Ethereum Mainnet at the top of the MetaMask wallet screen and b) select
Please be very careful with your 12-word secret recovery phrase and private keys, because they control access to your funds. Never share them with anyone, and only import them into platforms that you trust 100%. If you choose to import your private keys into a third-party platform, you do so at your own risk. To find out more, check out this article from our Knowledge Base: How do I keep my money safe?
- Your browser will open a new tab in which you can copy and paste the details of the custom network (we'll use the Polygon network as an example):
a) Network Name: Polygon mainnet b) RPC: https://polygon-rpc.com/ c) ChainID: 137 d) Symbol: MATIC e) Block Explorer: https://explorer.matic.network
- After successfully connecting to the Polygon mainnet, your MetaMask wallet will display both a) the new network, and b) the native asset:
List of RPCs
RPC data points you can use to connect to different networks.
|Network Name:||Arbitrum One|
|Network Name:||Avalanche C Chain|
BNB Smart Chain
|Network Name:||BNB Smart Chain|
|Network Name:||Celo mainnet|
Crypto.com Cronos Chain
|Network Name:||Cronos mainnet|
Energy Web Chain
|Network Name:||Energy Web Chain|
ETH PoW (ETHW)
|Network Name:||Fantom Opera mainnet|
|Network Name:||Harmony mainnet|
Huobi Eco Chain
|Network Name:||HECO mainnet|
|Network Name:||KCC mainnet|
|Network Name:||OKEx Chain mainnet|
|Network name:||Polygon mainnet|
|Network Name:||Songbird mainnet|
|Network Name:||xDai mainnet|
|Network Name:||XinFin mainnet|