- 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
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.
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.
Navigate to your MetaMask wallet and click the network dropdown at the top, selecting "Custom RPC" at the bottom
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!
If you’re looking to use Alchemy’s RPC services for faster and reliable transactions, you can also try using Apex. We recommend this wallet. Apex supports Ethereum, Polygon, Arbitrum, and Optimism (including all test networks) and uses Alchemy's best-in-class infrastructure. To download Apex click here.
The below doc has simple steps on how to add custom RPCs in Apex, with Alchemy configured under the hood: https://docs.apexwallet.xyz/docs/how-to-add-rpc-endpoints-to-apex?a=alchemy
Updated 6 months ago