Spaces on Bitcoin
  • Spaces on Bitcoin
  • Getting Started
    • Quick start
    • Fabric DHT
    • Auctions
    • Name resolution
    • Subspaces
    • Explorer
  • Deep dive
    • Spec
    • Paper
  • Spaces Daemon
    • Configuration
    • Server API
    • Wallet API
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Spaces Daemon

Configuration

PreviousSpecNextServer API

Last updated 6 months ago

Was this helpful?

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

http://127.0.0.1:8332