Home / Docs / CLI Reference

CLI Reference

The xe binary is a unified CLI for both node operation and client interaction.

Commands

xe node [flags]           Start a node daemon
xe wallet create          Create a new wallet
xe wallet balance         Show wallet balance
xe fund                   Claim XUSD (testnet)
xe send <addr> <amount>   Send funds
xe receive                Receive pending sends
xe providers              List providers
xe lease [flags]          Create a lease
xe lease status <hash>    Check lease status
xe vm <hash>              Get VM info
xe ssh <hash>             SSH into leased VM
xe keygen                 Generate ed25519 SSH keypair
xe sign-block <seed>      Sign a block from stdin
xe version                Print version

Environment Variables

VariableDefaultDescription
XE_NODEhttps://ldn.core.test.networkNode API URL
XE_WALLET~/.xe/wallet.seedWallet seed file
XE_SSH_HOSTldn.test.networkSSH gateway hostname
XE_SSH_PORT2222SSH gateway port

Node Flags

FlagDefaultDescription
-port9000libp2p TCP port
-api-port8080HTTP API port
-api-bind127.0.0.1API bind address
-apitrueEnable/disable HTTP API server
-dial(none)Bootstrap multiaddrs
-data./dataStorage directory
-cors-origin(none)Allowed CORS origin
-uifalseEnable embedded web UI
-ui-port(api-port)Web UI port (if separate)
-ui-bind127.0.0.1Web UI bind address
-ui-dir(embedded)Dev override: serve UI from filesystem
-walletfalseEnable wallet pages in web UI
-providefalseEnable provider mode
-vcpus2vCPUs to offer
-memory2048Memory in MB
-disk20Disk in GB
-ssh-port0SSH gateway port
-limactl-path(PATH)Path to limactl
-min-lease-duration0Policy: minimum lease duration
-max-lease-duration0Policy: maximum lease duration
-min-lease-cost0Policy: minimum XUSD cost
-max-lease-cost0Policy: maximum XUSD cost
-max-concurrent-leases0Policy: max active leases