Configuration

The Spaces daemon listens on the following ports by default:

NetworkPort

Mainnet

7225

Testnet4

7224

Testnet3

7223

Regtest

7218

Options

All these arguments can be specified as environment variables with SPACED_ prefix and UPPER_SNAKE_CASE

OptionDescriptionDefault

--chain

Network to use

None (Required)

--bitcoin-rpc-url

Bitcoin RPC URL

Bitcoin core default URL based on the specified chaine.g. http://127.0.0.1:8332 for mainnet

--bitcoin-rpc-cookie

Bitcoin RPC cookie file path

None

--bitcoin-rpc-user

Bitcoin RPC user

None

--bitcoin-rpc-password

Bitcoin RPC password

None

--block_index

Enable block indexing

false

--data_dir

Custom data directory to store spaced state

None

--jobs

Number of concurrent workers during sync

8

--rpc_bind

Bind address for JSON-RPC connections

127.0.0.1, ::1

--rpc_port

Port for JSON-RPC connections

None

--config

Path to a configuration file

None

Last updated