Lux Docs

API Reference

Programmatic CLI usage

The CLI can be used programmatically via the Go SDK:

import "github.com/luxfi/cli/pkg/network"

net, _ := network.Start(network.Config{
    NumNodes: 5,
})
defer net.Stop()