upcmd

package
v1.102.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package upcmd implements `lux up <network>/<env>` — the one boot verb.

Boots a sovereign-L1 luxd node identified by (name, env). Reads chain.yaml under $LUX_NETWORK_PATH, applies the runtime template, verifies/writes a chain.lock manifest in the data-dir, then exec's luxd in K=1 PoA mode bound to the resolved httpPort/stakingPort.

Foreground only. Background with shell `&` or tmux; the CLI does not supervise. Identity for `lux down` is the (port + networkID) handshake, not a PID file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns `lux up`.

func Profile

func Profile(ctx context.Context, ref string) (*network.Profile, error)

Profile resolves name/env once, used by sibling commands that share a parent (cycle, snap-after-up). Not currently used externally — kept exported for that case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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