Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deploy Local Testnet

This guide explains how to create and manage a local Emerald testnet. The goal is to enable developers and testers to run an Emerald network on their machine for development, testing, and experimentation. Users can spin up a testnet with a single make command or through an experimental CLI.

A local testnet is a fully functional blockchain network running entirely on your computer. It provides:

  • Fast iteration: Test smart contracts and applications without waiting for public networks
  • Complete control: Add/remove validators, modify network parameters, reset state anytime
  • No cost: No real tokens required for testing
  • Privacy: All transactions and data stay on your machine

Local Testnet vs Production Network

FeatureLocal TestnetProduction Network
ValidatorsAll on your machineDistributed across organizations
Data persistenceCan reset anytimePermanent blockchain history
Network accessLocalhost onlyPublic or permissioned network
Use caseDevelopment/testingReal applications
Setup time~30 secondsRequires coordination

For instructions on how to launch an Emerald production-grade network, please refer to the Launch Production Network section.