Skip to content

Interacting with Moonbeam Using MetaMask

Intro diagram

Introduction

Developers can leverage Moonbeam's Ethereum compatibility features to integrate tools such as MetaMask into their dApps. By doing so, they can use the injected library MetaMask provide to interact with the blockchain.

Currently, MetaMask can be configured to connect to two networks: a Moonbeam standalone node, or the Moonbase Alpha TestNet.

Connect MetaMask to Moonbeam

Once you have MetaMask installed, you can set it up to connect to Moonbeam by clicking on the top right logo and open the settings.

MetaMask3

Next, navigate to the Networks tab, and click on the "Add Network" button.

MetaMask4

Here you can configure MetaMask for the following networks:

Moonbeam standalone node:

  • Network Name: Moonbeam Dev
  • New RPC URL: http://127.0.0.1:9933
  • ChainID: 1281
  • Symbol (Optional): DEV

Moonbase Alpha TestNet:

  • Network Name: Moonbase Alpha
  • New RPC URL: https://rpc.testnet.moonbeam.network
  • ChainID: 1287
  • Symbol (Optional): DEV

Step-by-step Tutorials

In the case that you are interested in a more detailed step-by-step guide, you can go to our specific tutorials: