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 provides 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 connect it to Moonbeam by clicking on the top right logo and opening 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: