Skip to content

Command-Line Options

Run WorldLand

WorldLand is primarily controlled using the command line. Start it using the worldland command and stop it by pressing Ctrl+C.

bash
./worldland

With custom flags:

bash
./worldland <flags>

You can configure WorldLand using command-line options (flags). WorldLand also has sub-commands that can invoke functions such as console or blockchain import/export.

Config File

As an alternative to passing the numerous flags to the worldland binary, you can also pass a configuration file:

bash
./worldland <other flags> --config /path/to/your_config.toml

Generating a Config File

To get an idea of how the file should look, you can use the dumpconfig sub-command to export your existing configuration:

bash
./worldland <other flags> dumpconfig >> config.toml

Example (Gwangju testnet):

bash
./worldland -gwangju dumpconfig -datadir /home/worldland/gwangju >> config.toml

Command-Line Options Reference

A full list of command-line help is listed below. You can always get the same information from your own WorldLand instance by running:

bash
./worldland -help

Key Flags

FlagDefaultDescription
--datadir~/.ethereumData directory for the databases and keystore
--gwangju-Connect to Gwangju testnet (Chain ID: 10359)
--port30303Network listening port
--httpdisabledEnable the HTTP-RPC server
--http.port8545HTTP-RPC server listening port
--http.addr127.0.0.1HTTP-RPC server listening address
--http.apieth,net,web3API modules to offer over HTTP
--http.corsdomain-Comma-separated list of allowed CORS domains
--wsdisabledEnable the WebSocket-RPC server
--ws.port8546WS-RPC server listening port
--ws.apieth,net,web3API modules to offer over WebSocket
--ws.origins-Allowed WebSocket origins
--minedisabledEnable mining
--miner.etherbase-Public address for block mining rewards
--miner.threads0Number of CPU threads to use for mining
--verbosity3Logging verbosity (0=silent, 5=detail)
--config-TOML configuration file path
--ipcpath-IPC socket file path
--ipcdisable-Disable the IPC-RPC server

Decentralized GPU Infrastructure for the AI Era