How to Create a Private RPC Endpoint (2024)

How to Create a Private RPC Endpoint (1)

Written by Alchemy

How to Create a Private RPC Endpoint (2)

Reviewed by Brady Werkheiser

Published on June 21, 20224 min read

RPC nodes provide a link between blockchains and the decentralized applications (dApps) that run on top of them. Web3 wallets have default RPC node providers so users can easily start interacting with web3 applications, however, sometimes these default, public RPC nodes cause problems for everyday users and web3 developers due to slow network speeds, incorrect blockchain data, and unreliable service (uptime).

In this article we’re going to explain why it is a good idea to create a private RPC endpoint instead of using public RPC endpoints, and how to add one to your MetaMask wallet so you can get faster speeds, accurate data, and more reliable service.

In the context of this article, the term “private RPC endpoint” means a personal RPC endpoint that is not publicly available for everyone else to use. We do not mean that the transactions sent through your personal RPC endpoint are private transactions, that they will settle privately, or that they will not appear in the public mempool.

If you are looking to send private transactions, please refer to the Flashbots API.

A private RPC endpoint is an RPC endpoint with a unique URL that only the owner can use to send transactions to the public mempool, providing individuals with a direct connection to a node provider.

Private RPC endpoints enable users to publish transactions through a dedicated endpoint instead of using their wallet’s default, public endpoint which is being used simultaneously by the wallet’s other users.

What are the benefits of using a private RPC endpoint?

Using a private RPC endpoint has many benefits including speed, accurate data, more reliable service, and less competition when submitting transactions during periods of high transaction volumes like an exclusive NFT drop.

Here are some of the use cases where traders, developers, and everyday users could benefit from updating their MetaMask wallet from the default RPC endpoint to a personal one:

  • Sending transactions during an exclusive, first-come-first-serve NFT mint

  • Sending transactions to capitalize on time-sensitive arbitrage opportunities

  • Getting reliable service when other node providers experience degraded service during airdrops

There are multiple reasons why web3 users stand to benefit from creating a private RPC endpoint and updating their default web3 wallet settings to send transactions through a personal RPC endpoint.

Alchemy is the leading web3 node infrastructure provider for Ethereum, Polygon, Arbitrum, Optimism, and many more layer 1 and layer 2 blockchains because of their speed (i.e. low latency), data correctness, and reliability (99.99% uptime), compared to other providers like Infura (MetaMask’s default RPC endpoint provider), and Quicknode.

For everyday users it means Alchemy is faster, more accurate, and dependable than alternative providers.

For developers and traders, using Alchemy has many other benefits from their free account including:

  • Webhooks for Ethereum, Polygon, Arbitrum, and Optimism

  • Free archive data

  • Enhanced APIs

  • User-friendly debugging and application monitoring tools

  • A simple-to-use developer dashboard

  • New accounts can be created in a couple minutes

In addition to these benefits, creating a personal RPC endpoint takes just a couple minutes.

How to Create a Personal RPC Endpoint

We'll use Alchemy to create a personal RPC endpoint. You can create an account for free.

Step 1 - Create an Alchemy Account

Enter your name, email address, and a password to sign up, or log into your existing account.

Step 2 - Create a New App

After creating a new account, you will be redirected to our dashboard, where we can create a new app by clicking on the Create App button as shown below.

How to Create a Private RPC Endpoint (3)

Next, input the following app information based on the network for which you want to create a private RPC endpoint.

For the description, you can write anything you want or leave it blank.

Alchemy App Details for a Personal Ethereum RPC Endpoint

  • Name: Private RPC Endpoint - Ethereum (Mainnet)

  • Chain: Ethereum

  • Network: Mainnet

Alchemy App Details for a Personal Polygon RPC Endpoint

Alchemy App Details for a Personal Arbitrum RPC Endpoint

  • Name: Private RPC Endpoint - Arbitrum (Mainnet)

  • Chain: Arbitrum

  • Network: Mainnet

Alchemy App Details for a Personal Optimism RPC Endpoint

  • Name: Private RPC Endpoint - Optimism (Mainnet)

  • Chain: Optimism

  • Network: Mainnet

How to Create a Private RPC Endpoint (4)

Next, copy the RPC URL provided by Alchemy in the app details as shown below.

How to Create a Private RPC Endpoint (5)

Step 3 - Connect to a New Network in MetaMask

Next, open your MetaMask wallet and connect to a new network using the RPC URL from the previous step.

  1. Open Metamask

  2. Click the network name in the window's upper-right corner, as shown below

How to Create a Private RPC Endpoint (6)

3. At the bottom of the pop-up window, click the Add Network button.

How to Create a Private RPC Endpoint (7)

4. Enter the following network details based on the blockchain for which you created your private RPC endpoint

5. Then click Save

Network Details for Creating a Private Ethereum RPC Endpoint

  • Network Name: Ethereum Mainnet

  • New RPC URL: 1 https://eth-mainnet.alchemyapi.io/v2/your-api-key

  • Chain ID: 1

  • Currency Symbol: ETH

  • Block Explorer URL: https://etherscan.io

Network Details for Creating a Private Polygon RPC Endpoint

  • Network Name: Polygon Mainnet

  • New RPC URL: https://polygon-mainnet.g.alchemy.com/v2/your-api-key

  • Chain ID: 137

  • Currency Symbol: MATIC

  • Block Explorer URL: https://polygonscan.com/

For more information, read our guide on how to connect MetaMask to Polygon.

Network Details for Creating a Private Arbitrum RPC Endpoint

  • Network Name: Arbitrum

  • New RPC URL: https://arb-mainnet.g.alchemy.com/v2/your-api-key

  • Chain ID: 42161

  • Currency Symbol: AETH

  • Block Explorer URL: https://arbiscan.io/

For more information, read our guide on how to connect MetaMask to Arbitrum.

Network Details for Creating a Private Optimism RPC Endpoint

  • Network Name: Optimism

  • New RPC URL: https://opt-mainnet.g.alchemy.com/v2/your-api-key

  • Chain ID: 10

  • Currency Symbol: ETH

  • Block Explorer URL: https://optimistic.etherscan.io

For more information, read our guide on how to connect MetaMask to Optimism.

How to Create a Private RPC Endpoint (8)

After hitting Save, you’ll be immediately taken to Polygon's Network in the option list!

Private RPC endpoints are a great way for everyday users, builders, and traders to get better performance when trading tokens, minting NFTs, deploying smart contracts, and interacting with dApps on blockchains.

How to Create a Private RPC Endpoint (2024)
Top Articles
Technical Information on Home Water Treatment Technologies | Home Water Treatment | Drinking Water | Healthy Water
Canadian Residents with US Roth IRA | Expat US Tax
Avonlea Havanese
Craigslist Campers Greenville Sc
The Ivy Los Angeles Dress Code
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
Minn Kota Paws
Scentsy Dashboard Log In
Hello Alice Business Credit Card Limit Hard Pull
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
Www.paystubportal.com/7-11 Login
Obituary | Shawn Alexander | Russell Funeral Home, Inc.
Slag bij Plataeae tussen de Grieken en de Perzen
Crossword Nexus Solver
Nba Rotogrinders Starting Lineups
Po Box 35691 Canton Oh
Divina Rapsing
Contracts for May 28, 2020
Okc Body Rub
Shreveport City Warrants Lookup
Surplus property Definition: 397 Samples | Law Insider
Dei Ebill
When His Eyes Opened Chapter 3123
Phoenixdabarbie
Craigslist Comes Clean: No More 'Adult Services,' Ever
Big Boobs Indian Photos
Log in to your MyChart account
Dairy Queen Lobby Hours
Plasma Donation Racine Wi
Que Si Que Si Que No Que No Lyrics
Emily Katherine Correro
Panchang 2022 Usa
Movies123.Pick
Cranston Sewer Tax
Infinite Campus Parent Portal Hall County
Lcwc 911 Live Incident List Live Status
Walmart Pharmacy Hours: What Time Does The Pharmacy Open and Close?
Www.craigslist.com Waco
Winta Zesu Net Worth
Promo Code Blackout Bingo 2023
Gt500 Forums
Gonzalo Lira Net Worth
The Jazz Scene: Queen Clarinet: Interview with Doreen Ketchens – International Clarinet Association
Tito Jackson, member of beloved pop group the Jackson 5, dies at 70
Horseneck Beach State Reservation Water Temperature
Westport gun shops close after confusion over governor's 'essential' business list
Unit 4 + 2 - Concrete and Clay: The Complete Recordings 1964-1969 - Album Review
Costco Gas Price Fort Lauderdale
Latest Posts
Article information

Author: Tyson Zemlak

Last Updated:

Views: 6185

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tyson Zemlak

Birthday: 1992-03-17

Address: Apt. 662 96191 Quigley Dam, Kubview, MA 42013

Phone: +441678032891

Job: Community-Services Orchestrator

Hobby: Coffee roasting, Calligraphy, Metalworking, Fashion, Vehicle restoration, Shopping, Photography

Introduction: My name is Tyson Zemlak, I am a excited, light, sparkling, super, open, fair, magnificent person who loves writing and wants to share my knowledge and understanding with you.