Skip to content

The Moonbase Alpha TestNet


With the release of Moonbase Alpha v8, the minimum gas price has been set to 1 GDEV (similar to GWei on Ethereum). This might be a breaking change if you've previously specified a gas price of 0 for your deployment.


The first Moonbeam TestNet, named Moonbase Alpha, aims to provide developers with a place to start experimenting and building on Moonbeam in a shared environment. Since Moonbeam is deployed as a parachain on Kusama and Polkadot, the goal of the TestNet is to reflect the production configurations. For this reason, it was decided that it needed to be a parachain-based configuration rather than a Substrate development setup.

In order to collect as much feedback as possible and provide fast issue resolution, please join the Moonbeam Discord.

Initial Configuration

Moonbase Alpha has the following configuration:

  • Runs as a parachain connected to a relay chain
  • Has an active set of 36 collator nodes run by the community
  • The relay chain hosts validators to finalize relay chain blocks. One of them is selected to finalize each block collated by Moonbeam's collators. This setup provides room to expand to a two-parachain configuration in the future
  • Has infrastructure providers that provide API endpoints to connect to the network. Projects can also run their own node to have access to their own private endpoints

TestNet Diagram

Some important variables/configurations to note include:

Variable Value
Minimum gas price 0.125 Gwei
Target block time 12 seconds (expected to be 6 seconds)
Block gas limit 15,000,000 (expected to increase by at least 4x)
Transaction gas limit 12,995,000 (expected to increase by at least 4x)
Variable Value
Minimum delegation stake 1 DEV
Maximum delegators per candidates 300
Maximum delegations per account 100
Round 600 blocks (2 hours)
Bond duration delegation takes effect in the next round (funds are withdrawn immediately)
Unbond duration 2 rounds

Network Endpoints

Moonbase Alpha has two types of endpoints available for users to connect to: one for HTTPS and one for WSS.

If you're looking for your own endpoints suitable for production use, you can check out the Endpoint Providers section of our documentation. Otherwise, to get started quickly you can use one of the following public HTTPS or WSS endpoints.

Provider RPC URL
Moonbeam Foundation
Provider RPC URL
Moonbeam Foundation

Relay Chain

To connect to the Moonbase Alpha relay chain, you can use the following WS Endpoint:

Provider RPC URL

Quick Start

For the Web3.js library, you can create a local Web3 instance and set the provider to connect to Moonbase Alpha (both HTTP and WS are supported):

const { Web3 } = require('web3'); // Load Web3 library
// Create local Web3 instance - set Moonbase Alpha as provider
const web3 = new Web3(''); 

For the Ethers.js library, define the provider by using ethers.JsonRpcProvider(providerURL, {object}) and setting the provider URL to Moonbase Alpha:

const ethers = require('ethers'); // Load Ethers library

const providerURL = '';
// Define provider
const provider = new ethers.JsonRpcProvider(providerURL, {
    chainId: 1287,
    name: 'moonbase-alphanet'

Any Ethereum wallet should be able to generate a valid address for Moonbeam (for example, MetaMask).

Chain ID

Moonbase Alpha TestNet chain ID is: 1287, which is 0x507 in hex.

Alphanet Relay Chain

The Alphanet relay chain is connected to Moonbase Alpha and is Westend-based but unique to the Moonbeam ecosystem. It resembles how you would interact with Kusama or Polkadot. The native tokens of the Alphanet relay chain are UNIT tokens, which are for testing purposes only and have no real value.


You can see current Moonbase Alpha telemetry information by visiting Polkadot's Telemetry dashboard.


Tokens on Moonbase Alpha, named DEV, will be issued on demand. DEV tokens hold no value and can be freely acquired.

You can enter your address to automatically request DEV tokens from the Moonbase Alpha Faucet website. The faucet dispenses 1.1 DEV tokens every 24 hours.

For token requests of more than the limited amount allowed by the faucet, contact a moderator directly via the Moonbeam Discord server. We are happy to provide the tokens needed to test your applications.

Proof of Stake

The Moonbase Alpha TestNet is a fully decentralized Delegated Proof of Stake network where users of the network can delegate collator candidates to produce blocks and "earn rewards" for testing purposes. Please note, that the Moonbase Alpha DEV tokens have no real value. The number of candidates in the active set will be subject to governance. The active set will consist of the top candidates by stake, including delegations.


This is the first TestNet for Moonbeam, so there are some limitations.

Some precompiles are yet to be included. You can check out the list of supported precompiles on the Canonical Contract page. However, all built-in functions are available.

Since the release of Moonbase Alpha v6, the maximum gas limit per block has been set to 15,000,000, with a maximum gas limit per transaction of 12,995,000.

Last update: January 25, 2024
| Created: September 10, 2020