Skip to main content

Module devnet

Module devnet 

Source
Expand description

Local devnet infrastructure for spawning and managing multiple nodes.

This module provides a local, in-process devnet suitable for running multi-node networks on a single machine.

Structs§

Devnet
A local devnet composed of multiple nodes.
DevnetConfig
Configuration for the devnet.
DevnetEvmInfo
EVM configuration info included in the devnet manifest.
DevnetManifest
Devnet manifest for client discovery.
DevnetNode
A single devnet node instance.

Enums§

DevnetError
Error type for devnet operations.
NetworkState
Network state for devnet startup lifecycle.
NodeState
Node state for devnet nodes.

Constants§

DEFAULT_BOOTSTRAP_COUNT
Default number of bootstrap nodes.
DEFAULT_NODE_COUNT
Default number of nodes in a full devnet.
DEVNET_PORT_RANGE_MAX
Maximum port for random devnet allocation.
DEVNET_PORT_RANGE_MIN
Minimum port for random devnet allocation.
MINIMAL_BOOTSTRAP_COUNT
Number of bootstrap nodes in a minimal network.
MINIMAL_NODE_COUNT
Number of nodes in a minimal devnet.
SMALL_NODE_COUNT
Number of nodes in a small devnet.

Type Aliases§

Result
Result type for devnet operations.