Configuration

The Spaces daemon listens on the following ports by default:

Network
Port

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

Option
Description
Default

--bitcoin-rpc-cookie

Bitcoin RPC cookie file path

None

--bitcoin-rpc-password

Bitcoin RPC password

None

--bitcoin-rpc-url

Bitcoin RPC URL

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

--bitcoin-rpc-user

Bitcoin RPC user

None

--block-index

Enable block indexing

false

--chain

Network to use

None (Required)

--config

Path to a configuration file

None

--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

Last updated

Was this helpful?