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

Facts and rules: the single source

Generated from _data/facts.json and _data/rules.json. Do not hand-edit: change the atom, then run scripts/gen-atoms.py. Agents: the same data is at /facts.json and /rules.json.

Verified against structsd v0.23.0 (f6dc0047fa896aaa4fdc4be21eb22c12f7ae3e1e) on 2026-11-27. Source paths are in the structsd repository unless they name another one. Times assume 6-second blocks.

When two pages disagree, this page wins. If this page is wrong, fix the atom: every page that embeds it changes too, and the claim lint (scripts/ci/check-claims.py) stops the old wording from coming back.

Source repositories

Repository Pinned commit
structsd f6dc0047fa89 (v0.23.0)
structs-pg e4f58f61a9c6
docker-structs-pg 9a7a89dce204
docker-structs-guild 86104df74e99
structs-webapp 1c2b8857b7e1

Rules

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

R.raid.gate

A raid can complete only while the defender is vulnerable: no fleet, the fleet off station, or no Command Ship, a destroyed one, or an offline one. While the fleet is on station with an online Command Ship, raid completion is rejected however much work the raider does. The shield number sets the raid’s proof-of-work difficulty (a timer), not whether it can complete.

R.power.offline

Going over capacity (load above capacity) stops a player from acting: no building, attacking, moving or mining. It does not switch structs off; only deactivation or destruction takes a struct offline. Whether a planet can be raided depends on the Command Ship’s own status and the fleet’s position.

R.raid.loot

A raid takes only the defender’s stored (unrefined) ore. Its settlement never takes refined Alpha, the vault, the account, or generator fuel. Fighting during a raid can still destroy structs, and a generator that is destroyed for any reason (combat, trashing, or its planet’s depletion) loses its fuel.

R.refine.parallel

Launch the refine compute together with the mine compute. A refinery ages while it holds no ore; ore is checked when the refine completes, and a refine that lands with no stored ore is rejected.

R.refine.under-raid

Mining and refining cannot complete while a visitor heads the planet’s raid queue (under_raid). When the raid ends the ore clocks shift, so computes that were running must be relaunched.

R.compute.same-key

Do not let two auto-submitting computes on one signing key finish together; their submissions collide on the account sequence. Overlap is fine when completions are well apart, as with a fresh mine and refine, which land hours apart. The chain has no rule against overlapping computes.

R.player.create

A new key becomes a player through guild signup or a native staking delegate. reactor-infuse from an unregistered address is rejected (2010).

R.cmd.granted

A player’s fleet and Command Ship are created the first time the fleet is used, normally the first planet-explore. The Command Ship starts online only if the player can carry its 50 W draw. Planet builds need it online and the fleet on station.

R.pow.d-gate

In the structsd v0.23.0 CLI the -D gate is inverted: computes hash from launch and submit as soon as a proof is found. -D does not save CPU. The age-to-difficulty times in the docs are correct chain math.

R.grass.subjects

Planet activity (raids, structs, fleets) is published on structs.planet.{planet_id}.{owner_player_id}; subscribe with structs.planet.{planet_id}.. There are no structs.struct., structs.fleet.* or structs.global subjects; blocks arrive on consensus.

R.grass.raid-status

raid_status events carry the chain’s RaidStatus names in detail.status: initiated, ongoing, shieldsVulnerable, attackerDefeated, attackerRetreated, raidSuccessful, demilitarized.

R.build.difficulty-700

Only the Ore Refinery and the Field Generator have build difficulty 700; other planet structs range from 720 to 5,000, and the Ore Extractor is 10.

R.reactor.location

Reactors are not on planets. Each reactor is backed by a validator and belongs to a guild; a dying planet does not take a reactor with it.

R.tx.y-flag

-y is off by default. Examples show the interactive form; only the four compute commands (each preceded by an Approval Block) carry -y, and an agent adds it elsewhere only after commander approval.

R.perm.defense-set

Setting defenders (struct-defense-set) requires PermPlay on the struct’s owning player; there is no narrower defense-only permission. A watcher that only alerts needs no grant.

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

R.grid.allocation-source

An allocation’s source can be a guild, a player, a bonded reactor or a substation. A struct cannot be an allocation source.

R.guild.entry-substation

Every guild join path connects the joining member to the guild’s entry substation (or to a –substation-id override where the path allows one). Changing the entry substation affects only members who join afterwards; existing members must be moved.

R.grid.infusion-not-substation

Infusing a reactor raises only the reactor’s share and the infuser’s own capacity; it does not power any substation. Power reaches a substation only through an allocation into it. An automated allocation on the infused source resizes itself as that source’s capacity changes, which is the one way an infusion flows through on its own.

R.reactor.bonded-only

A reactor produces energy only while its validator is bonded and not jailed. Unjailing and re-entering the active set restores power automatically; reactor-restart only re-syncs stored state and cannot make an unbonded validator produce power.

R.charge.cost

Charge is the number of blocks since your last charge action, and every charge action resets it to 0. An action needs charge at least its cost: build-initiate and trash 1, activate 2, move 3, an attack its weapon’s charge (3 or more). The ante also accepts only one charge action per player per block (2021).

Facts

ID Value Meaning Source
F.chain.id structstestnet-111 Current testnet chain ID docker-structs-guild/.env.example:3; structs-webapp/src/js/constants/ChainConstants.js:3
F.net.rpc https://public.testnet.structs.network:26657 Public RPC endpoint (set as node in client.toml) docker-structs-guild/.env.example:7-8
F.net.lcd https://public.testnet.structs.network Public REST (LCD) endpoint docker-structs-guild/.env.example:63-64
F.chain.block_time 6 s Assumed block time used for every hour figure in the docs; it is the node’s timeout_commit, not a chain parameter x/structs/types/genesis_struct_type.go:1158 (comment); no module param
F.pow.formula difficulty = 64 - max{k <= 63 : range^k <= age^63}, minimum 1 Required leading hex zeros for a proof, falling with age; difficulty 1 is reached when age equals the range x/structs/types/work.go:78-108
F.build.extractor.difficulty 10 Ore Extractor build difficulty range (ready in about a minute) x/structs/types/genesis_struct_type.go:1158
F.build.refinery.difficulty 700 Ore Refinery build difficulty range x/structs/types/genesis_struct_type.go:1245
F.build.refinery.d3 56.9 min Ore Refinery build: age to difficulty 3 (70 min to difficulty 1) (derived) F.pow.formula with range 700
F.mine.range 14,000 Ore mining difficulty range x/structs/types/genesis_struct_type.go:1220
F.refine.range 28,000 Ore refining difficulty range x/structs/types/genesis_struct_type.go:1308
F.mine.d3 17.2 h Mining: age to difficulty 3 (derived) F.pow.formula with range 14000 (10,340 blocks)
F.mine.d1 23.3 h Mining: age to difficulty 1 (derived) F.pow.formula with range 14000 (14,000 blocks)
F.refine.d3 33.7 h Refining: age to difficulty 3 (derived) F.pow.formula with range 28000 (20,230 blocks)
F.refine.d1 46.7 h Refining: age to difficulty 1 (derived) F.pow.formula with range 28000 (28,000 blocks)
F.pipeline.exposure 17 h Usual window in which mined ore can be stolen when a fresh mine and refine reach difficulty 3 together (with delayed launches; an undelayed CLI compute lands both earlier, with a shorter gap) (derived) F.refine.d3 - F.mine.d3
F.charge.build_initiate 1 Charge cost of struct-build-initiate, for all 22 struct types x/structs/types/genesis_struct_type.go (BuildCharge: 1 on every type)
F.charge.per_block 1 Charge-consuming messages accepted per player per block (a second one fails with 2021) app/ante/errors.go:48-49; app/ante/throttle.go:86-113
F.planet.start_ore 5 Ore in a newly explored planet x/structs/types/keys.go:358
F.planet.slots 4 Slots per ambit on a new planet x/structs/types/keys.go:359
F.power.player 25 W Player base draw x/structs/types/keys.go:338 (PlayerPassiveDraw = 25000 mW)
F.power.cmd 50 W Command Ship passive draw x/structs/types/genesis_struct_type.go (type 1, PassiveDraw 50000)
F.power.extractor 500 W Ore Extractor build and passive draw x/structs/types/genesis_struct_type.go (type 14, 500000)
F.power.refinery 500 W Ore Refinery build and passive draw x/structs/types/genesis_struct_type.go (type 15, 500000)
F.power.onboarding 1075 W Load with player, Command Ship, Extractor and Refinery all online (derived) F.power.player + F.power.cmd + F.power.extractor + F.power.refinery
F.energy.unit 1 ualpha = 1 mW Infusion converts stake to power one to one, so 1 gram of Alpha is about 1 kW x/structs/keeper/reactor_hooks.go (infusion power = stake in ualpha, in mW); x/structs/types/keys.go:338 shows the mW unit (PlayerPassiveDraw 25000 = 25 W)
F.substation.passthrough 90 % Share of a substation’s capacity it can pass on to connections x/structs/types/substation_capacity.go:3-7 (SubstationUsableCapacity = floor(90% of incoming))
F.reactor.commission 4 % Default reactor commission; the infuser keeps the rest x/structs/keeper/reactor_hooks.go:113
F.reactor.stake_cap 30 % Most of the bonded stake any one reactor may hold once 10 validators are bonded (error 1613) x/structs/types/params.go:10-11; x/structs/keeper/reactor_stake_cap.go:43-131; x/structs/types/errors.go:237
F.reactor.diversity_max 50 % Maximum owner diversity bonus for stake spread across reactors x/structs/types/params.go:12-13
F.guild.create_cost 2,000,000 ualpha Cost of guild-create, paid from the founder’s vault x/structs/keeper/msg_server_guild_create.go:64
F.grass.planet_subject structs.planet.{planet_id}.{owner_player_id} NATS subject for planet activity (raids, structs, fleets); subscribe with structs.planet.{planet_id}.* structs-pg/deploy/trigger-grass-planet-activity-20260707-add-owner-player-id.sql:17-33
F.grass.block_subject consensus NATS subject for new blocks docker-structs-pg/sync-state/internal/db/notify.go:29-38
F.grass.raid_statuses initiated, ongoing, shieldsVulnerable, attackerDefeated, attackerRetreated, raidSuccessful, demilitarized Values of detail.status on raid_status events proto/structs/structs/keys.proto:85-93; docker-structs-pg/sync-state/internal/events/raid.go:78-94