genesis

command
v1.12.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Command genesis generates Lux network genesis configurations.

Usage:

genesis [flags]

Flags:

-network        Network name: mainnet, testnet, local, custom (default: local)
-network-id     Network ID (overrides -network if set)
-keys-dir       Directory containing node keys (default: ~/.lux/keys)
-genesis-dir    Directory containing genesis component files
-output         Output file path (default: stdout or primary.json)
-allocation     Allocation per validator in LUX (default: 1000000000)
-validators     Number of validators for mnemonic-based genesis
-cchain         Path to existing C-Chain genesis (preserves original)
-format         Output format: json, pretty (default: pretty)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL