Build Service / BuildPackage (push) Canceled after 0s
Update to upstream Spaces 0.3.0 and refresh bundled images (subs v0.1.2c, certrelay v0.2.8, nacho v1.0.0b). Add Create/Show Registry API Keys for registry-server, remove Configure Subspaces and SUBS_PUBLISH_REQUIRE_FINALIZED, and align README/instructions with the new tags. Co-authored-by: Cursor <cursoragent@cursor.com>
4.1 KiB
4.1 KiB
Spaces
Spaces is a permissionless protocol for sovereign Bitcoin-anchored identities.
This package runs the spaced daemon
against Bitcoin mainnet and exposes space-cli
through a browser-based terminal.
Getting set up
On first install, StartOS will:
- Prompt you with a critical task — Show Web UI Credentials — to copy the
adminusername and the auto-generated password for the web terminal. - Prompt you with a second critical task on Bitcoin to run
generate-rpc-dependentand register Spaces' RPC user inbitcoin.conf. Approve the form (it is pre-filled) and Bitcoin will restart with the new credentials.
Once both tasks are complete:
- Open the Web UI from Spaces' dashboard.
- Log in with
adminand the displayed password. - Inside the terminal, run
spaces getserverinfoto confirm thatspacedis talking to Bitcoin and has begun indexing.
Using space-cli
Inside the web terminal, the spaces alias expands to
space-cli --chain mainnet --rpc-cookie /data/mainnet/.cookie. So:
spaces getserverinfo
spaces walletcreate default
spaces walletbalance default
Actions
- Reset Web UI Password — rotates the admin password and restarts the terminal daemon.
- Show Web UI Credentials — surfaces the current admin password (hidden; reachable through the install task).
- Set up Bitcoin RPC — re-runs the bitcoind credential setup if state ever drifts. Safe to call repeatedly.
- Sync Status — runs
space-cli getserverinfoagainst the local daemon and returns the JSON output. - Reset Spaced State — wipes
/data/mainnet/so spaced resyncs its index from spaces' anchor. Use this if spaced is crash-looping on a stale or corrupt index.store.json(passwords + RPC credentials) is preserved. - Export Wallet — runs
space-cli exportwalleton thedefaultwallet, writes the JSON to/data/mainnet/wallets_backup/default.jsoninside the container, and surfaces the same JSON as a copyable result so you can save it locally. Requires the service to be running. - Import Wallet — paste a previously-exported
default.jsonpayload to restore it. The action rotates any existing/data/mainnet/wallets_backup/default.jsonand/data/mainnet/wallets/defaultto.bakNNNsuffixes so no prior state is lost, then callsspace-cli importwalletandspace-cli loadwallet. Requires the service to be running. - Create Registry API Keys — generates (or rotates)
REGISTRY_API_KEYandSUBSD_API_KEYfor the Subspaces registry. Required before the registry daemon will start. - Show Registry API Keys — displays the stored registry keys.
Subspaces registry API keys
The embedded registry-server will not start without two distinct bearer
secrets. Before enabling Subspaces (or when StartOS prompts you after):
- Run Create Registry API Keys — generates
REGISTRY_API_KEYandSUBSD_API_KEY(same shape asopenssl rand -hex 32). - In the Subspaces Web UI, open Settings → Registry Server, set Auth
Token to
SUBSD_API_KEY, and click Test. - Give
REGISTRY_API_KEYto any intake client that callsPOST /register.
Use Show Registry API Keys to retrieve the stored values later, or re-run Create Registry API Keys to rotate them (then update the Auth Token).
Limitations
- Mainnet only. No testnet, signet, or regtest.
- Container images (see also the package manifest): the
spacedruntime useshorologger/spaces:v0.3.0; Subspaces, Certrelay, and Nacho usehorologger/subs:v0.1.2c,horologger/certrelay:v0.2.8, andhorologger/nacho:v1.0.0b. - The image's
docker_entrypoint.shis not used.spacedis managed by StartOS, not started inside ascreensession by login. - The only externally bound port is
8080(gotty). Spaced RPC stays on loopback.
Links
- Project home: https://spacesprotocol.org
- Upstream docs: https://docs.spacesprotocol.org/
- Source: https://github.com/spacesops/spaced
- Package source: https://github.com/horologger/spaces-startos