Lux Docs

Configuration

CLI configuration options

Config File

The CLI reads from ~/.lux/config.json:

{
  "network": "mainnet",
  "node_url": "https://api.lux.network",
  "key_name": "default"
}

Environment Variables

VariableDescription
LUX_NETWORKNetwork to connect to
LUX_KEY_NAMEDefault key name
LUX_PRIVATE_KEYPrivate key (hex)

On this page