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
Network RPC | Base URL | Chain ID | Block Explorer URL
โEthereum Mainnet https://eth-mainnet.g.alchemy.com/v2/ 1 https://etherscan.io/
Sepolia Test Network https://eth-sepolia.g.alchemy.com/v2/ 11155111 https://sepolia.etherscan.io/
โGoerli Test Network https://eth-goerli.g.alchemy.com/v2/ 5 https://goerli.etherscan.io/
โPolygon (Matic) Mainnet https://polygon-mainnet.g.alchemy.com/v2/ 137 https://polygonscan.com/
โPolygon (Matic) Mumbai https://polygon-mumbai.g.alchemy.com/v2/ 80001 https://mumbai.polygonscan.com
โArbitrum Mainnet https://arb-mainnet.g.alchemy.com/v2/ 42161 https://arbiscan.io/
Arbitrum Testnet https://arb-goerli.g.alchemy.com/v2/your-api-key 421613 https://testnet.arbiscan.io/
Optimism Mainnet https://opt-mainnet.g.alchemy.com/v2/ 10 https://optimistic.etherscan.io
โOptimism Testnet https://opt-goerli.g.alchemy.com/v2/ 420 https://goerli-optimism.etherscan.io/
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!
An alternative to MetaMask? Try out Apex
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
โ