Skip to content
STRUCTS.AICODEX
structstestnet-111 structsd v0.23.0 ✓ facts and rules verified 2026-11-27

Run a reactor

A REACTOR IS A VALIDATORR.reactor.is-validator

Every reactor is a validator. When a validator is created, the chain initializes its reactor; infusing a reactor is delegating stake to that validator. A jailed validator's reactor produces no power until it is unjailed and bonded again, which restores power automatically.

Source: x/structs/keeper/hooks.go:40-43 (AfterValidatorCreated -> ReactorInitialize) · all rules

A reactor is the slow fire of the Reactor page; this page is how you keep one lit. It is a Cosmos SDK validator for structstestnet-111, and the game’s reactor is created for it automatically. Everything here was checked against structsd v0.23.0 and the docker-structsd / docker-structs-guild repositories (pinned commits).

Before you start, know what you are signing up for: a machine that stays online and signing. A validator that misses more than 95% of a 35,000-block window (about 2.4 days at 6-second blocks, using the genesis values) is jailed, and while it is jailed every player drawing from its reactor loses that power. Slashing parameters come from genesis and governance can change them, so check them live: structsd query slashing params and structsd query staking params.

1. What the chain does when you create a validator

THE ENERGY COMMISSION IS FIXEDR.reactor.commission-fixed

A reactor's energy commission is set to 4% when the reactor is created and is not read from the validator afterwards. Changing the validator's Cosmos commission (edit-validator --commission-rate) changes staking rewards only, not the energy split.

Source: x/structs/keeper/reactor_hooks.go:113 (0.04 at ReactorInitialize) · all rules

2. Run a node and create the validator (Docker)

The maintained path is the docker-structsd image. docker-structs-guild’s compose-reactor.yaml wires it into four services; its README calls that file a legacy configuration, so read it before relying on it: it runs all four services from the unpinned structs/structsd:latest image, so pin a digest you have reviewed.

Step What runs Notes
Network config network-config.sh clones playstructs/structs-networks at $STRUCTS_NETWORK_VERSION for genesis.json and addrbook.json No seeds or persistent peers: it peers through the address book with PEX on. State sync is off, so the node syncs from genesis through every staged upgrade (allow hours to days).
Node config reactor-config.sh runs structsd init, writes the consensus pubkey to the share volume, and backs up priv_validator_key.json If you rebuild the node, restore the backed-up key yourself: the script does not copy it back. Two machines signing with one key is a double-sign — slashed 5% and tombstoned.
Node structsd under cosmovisor; ports 26656 (P2P), 26657 (RPC), 1317 (REST)  
Create reactor-create.sh waits until the node is caught up, recovers the operator key from STRUCTS_GUILD_MNEMONIC, fills reactor.json, and runs structsd tx staking create-validator reactor.json --from guild_admin --gas auto --yes — starting this service is your approval: it signs unattended The stake comes from the key’s bank balance, not a player vault. Image defaults: 50 Alpha stake, commission 0.1 (rewards only), min self-delegation 1.

Protect the operator key. STRUCTS_GUILD_MNEMONIC controls the validator’s stake and its reactor’s permissions; keep the .env that holds it out of version control and readable only by the service account, or inject it from a secret store, and keep the priv_validator_key.json backup offline.

Main settings in .env: STRUCTS_MONIKER, STRUCTS_NETWORK_VERSION, STRUCTS_NETWORK_CHAIN_ID, STRUCTS_GUILD_MNEMONIC, STRUCTS_VALIDATOR_INITIAL_STAKING_AMOUNT, and the commission and identity fields. The guild repository’s .env.example and the image default currently name different network versions (116b and 117b); both are structstestnet-111. Use the one your guild’s operators agree on.

Without Docker, the same steps are standard Cosmos SDK: install structsd (structsd-install), structsd init, fetch genesis and the address book from structs-networks, sync, then structsd tx staking create-validator with your consensus pubkey (structsd comet show-validator).

Check: structsd query structs reactor [reactor-id] shows your validator address, and structsd query staking validator [valoper] shows it bonded.

3. Keep it lit

Situation What happens What to do
Missed blocks pile up Jailed after missing more than 95% of the signing window, and slashed for downtime (1% in the genesis we could read; confirm with structsd query slashing params) Watch uptime: structsd query slashing signing-info [valcons]
Jailed The reactor’s power goes to zero for everyone drawing from it, in bounded batches Fix the node, wait out the jail period (600 s in genesis), then structsd tx slashing unjail --from [operator] --gas auto --gas-adjustment 1.5. Power returns automatically when the validator is bonded again.
Unjailed but outside the active set The reactor produces nothing: energy flows only from a bonded, unjailed validator (reactor_energy.go:13-23) Get back into the active set (more stake, or another validator leaving it); power then returns automatically. structsd tx structs reactor-restart --from [key] --gas auto --gas-adjustment 1.5 -- [valoper] (anyone may send it) only re-syncs stored state if no bonded hook fired.
Slashed Infusions lose fuel by the slash fraction Nothing to undo; tell the players drawing from you

4. Upgrades

The image runs cosmovisor with every upgrade binary baked in and verified at build time; it does not download binaries. Roll out the new image before the upgrade height, pin its digest, and recreate only the node service. Cosmovisor may exit at the upgrade boundary, so the container needs a restart policy that brings it back (unless-stopped); the legacy compose-reactor.yaml uses on-failure.

5. Anchor a guild (optional)

A reactor can anchor a guild: guild-create names a non-jailed validator’s reactor and an entry substation, and costs 2000000 ualpha from the founder’s vault. Then power your members: guild power.


Related: Reactor at every depth · Guild Stack · energy · Run