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
| Variable | Default | Description |
XE_NODE | https://ldn.core.test.network | Node API URL |
XE_WALLET | ~/.xe/wallet.seed | Wallet seed file |
XE_SSH_HOST | ldn.test.network | SSH gateway hostname |
XE_SSH_PORT | 2222 | SSH gateway port |
Node Flags
| Flag | Default | Description |
-port | 9000 | libp2p TCP port |
-api-port | 8080 | HTTP API port |
-api-bind | 127.0.0.1 | API bind address |
-api | true | Enable/disable HTTP API server |
-dial | (none) | Bootstrap multiaddrs |
-data | ./data | Storage directory |
-cors-origin | (none) | Allowed CORS origin |
-ui | false | Enable embedded web UI |
-ui-port | (api-port) | Web UI port (if separate) |
-ui-bind | 127.0.0.1 | Web UI bind address |
-ui-dir | (embedded) | Dev override: serve UI from filesystem |
-wallet | false | Enable wallet pages in web UI |
-provide | false | Enable provider mode |
-vcpus | 2 | vCPUs to offer |
-memory | 2048 | Memory in MB |
-disk | 20 | Disk in GB |
-ssh-port | 0 | SSH gateway port |
-limactl-path | (PATH) | Path to limactl |
-min-lease-duration | 0 | Policy: minimum lease duration |
-max-lease-duration | 0 | Policy: maximum lease duration |
-min-lease-cost | 0 | Policy: minimum XUSD cost |
-max-lease-cost | 0 | Policy: maximum XUSD cost |
-max-concurrent-leases | 0 | Policy: max active leases |