How to Add Alchemy RPC Endpoints to Metamask
Follow this guide if you're looking for an Infura alternative for Metamask.
Steps to update your Metamask
- Create a free account on Alchemy
- Create an API key for the desired Network on Metamask
- Choose "Custom RPC" in Metamask
- Fill in the network details
Why is Metamask not working?
MetaMask uses a default node provider to display and send transactions for your account. Because the node provider does not allocate dedicated resources to each user, it may be slow sometimes, i.e. for transactionbroadcasting.
Alchemy provides a much better experience when it is used as your MetaMask RPC provider. If you'd like to switch this over to Alchemy to be able to see your transactions in your Alchemy dashboard and use Alchemy-specific features and tools, this doc will show you how to integrate your MetaMask account in two easy steps.
NOTE: This does not mean that Alchemy will have access to your private keys or wallet!
For a video version of this guide, check this out:
Step 1: Create a free account on Alchemy
We'll need to use an Alchemy API key to replace our Metamask endpoint. You can create a free account here.
Step 2: Create an API key for the desired Network on Metamask
If we want to replace our Ethereum Mainnet endpoint (most popular) in Metamask we'll need to create an Ethereum Mainnet API key on Alchemy. For instructions on how to do so, check out step 1 of this guide. Or watch the video below.
Step 3: Choose "Custom RPC" in Metamask
Navigate to your MetaMask wallet and click the network dropdown at the top, selecting "Custom RPC" at the bottom
Step 4: Fill in the network details
This is where you'll grab your Alchemy API Key for the desired network.
Choosing a testnet
While you can use the Goerli testnet, we caution against it as the Ethereum Foundation has announced that Goerli will soon be deprecated. We therefore recommend using Sepolia as Alchemy has full Sepolia support and a free Sepolia faucet also.
Here is the information on specific Networks
And that's it! Your MetaMask is now hooked up to Alchemy 🎉 You've now unlocked game changing tools like the Mempool Visualizer (where you can view all your transactions as they are being mined), Alchemy Notify (receive notifications about address activity, dropped/mined transactions, etc.), and more!
Updated 9 months ago