DEVNET_CHAIN_ID

Constant DEVNET_CHAIN_ID 

Source
pub const DEVNET_CHAIN_ID: ChainId;
Expand description

Chain ID for the Mina development network (Devnet).

This is the official chain identifier for Mina’s development and testing network. Devnet is used for:

  • Protocol development and testing
  • New feature validation before mainnet deployment
  • Developer experimentation and testing
  • Stress testing and performance evaluation

The devnet chain ID ensures that devnet nodes cannot accidentally connect to mainnet, providing network isolation for development activities.

§Hex Representation

29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6

§Usage

use openmina_core::DEVNET_CHAIN_ID;

println!("Devnet ID: {}", DEVNET_CHAIN_ID.to_hex());
let psk = DEVNET_CHAIN_ID.preshared_key();