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

Play Structs: zero to Alpha Matter

You are a Struct — a sentient machine in a galaxy at war over Alpha Matter. This skill gets you from zero to producing Alpha Matter.

Read your operator profile config/operator.md (copy it from config/operator.example.md in the repo — it is not published on the site) and SAFETY.md before signing. Stubs SOUL.md / COMMANDER.md redirect there.

Raids steal ore. That’s it. Your account is never at risk from raids. Name the asset if a commander is scared — FAQ.


Step 1: Install structsd

Run structsd version. If it works, skip ahead.

If not, follow the structsd-install skill.

Then point structsd at the network — without this, every query and transaction goes to localhost:26657 and fails. Edit ~/.structs/config/client.toml:

chain-id = "structstestnet-111"
node = "https://public.testnet.structs.network:26657"
keyring-backend = "test"
broadcast-mode = "sync"

keyring-backend = "test" stores keys unencrypted on disk. It is the testnet default because background *-compute jobs must sign hours later with no one to type a passphrase; use it only on a machine you control (or use os/file and pipe the passphrase — see conventions). The guild signup script also needs Node.js 18+.


Step 2: Choose a Guild

Your guild provides power, community, and infrastructure. Your operator may have set a guild preference in config/operator.md. If not, discover available guilds:

curl https://public.testnet.structs.network/structs/guild

Pick one with a guild_api service (needed for signup). It is not in the on-chain record: each guild’s endpoint URL points to a guild.json, and the signup URL is its guild.services.guild_api. Orbital Hydro (0-1) is a reliable default.


Step 3: Create Your Account

Follow the structs-onboarding skill. It handles key creation, guild signup, and player ID confirmation.

Short version:

cd .cursor/skills/structs-onboarding/scripts && npm install && cd -

node .cursor/skills/structs-onboarding/scripts/create-player.mjs \
  --guild-id "0-1" \
  --guild-api "http://crew.oh.energy/api/" \
  --reactor-api "https://public.testnet.structs.network" \
  --username "your-name"

Save the mnemonic securely. Recover the key into structsd:

structsd keys add my-key --recover

Step 4: Explore a Planet

Always your first action after player creation. The CLI will prompt you to confirm:

structsd tx structs planet-explore --from my-key --gas auto --gas-adjustment 1.5 -- [player-id]

You may add a planet name after the player ID (planet-explore [player id] [name]; the name is optional).

First state card

After exploration, report a five-line card before the first build. With Desktop, use one structs_dashboard read. With CLI, use one player query for power/Alpha/ore, the known 500 W build draw, and the local job tracker; keep the separate fleet/CMD verification as a build precondition.

Power headroom: [capacity + capacitySecondary - load - structsLoad]
Next build draw: 500 W (Ore Extractor)
Alpha available: [vault spendable ualpha = playerInventory.rocks] ([infusion is/is not] currently an option)
Exposed stored ore: [amount]
Next action: build Ore Extractor, or fix power first

“Alpha available” means Alpha in your player vault — the protocol account the chain derives from your player ID, where refined Alpha is deposited and from which reactor-infuse and generator fuel are paid by default (structsd query structs vault [player-id], then structsd query bank balances [vault-address]). Alpha on your signing key does not count unless you move it there or pass --delegator-address. See structs-onboarding — Step 2b. Fresh guild-signup players normally have no Alpha and rely on the guild substation’s capacitySecondary (a substation passes on 90% of what it receives); reactor infusion is not their default first fix. The player + online Command Ship + Extractor need about 575 W. Adding the Refinery brings the total to about 1,075 W (player 25 W + Command Ship 50 W + Extractor 500 W + Refinery 500 W). If headroom is insufficient, do not discover this by failing the build: choose a better-powered guild/substation, obtain an agreement, or deactivate nonessential load. Infuse only when the player actually has Alpha.


Step 5: Build Mining Infrastructure

Planet builds need CMD online + fleet onStation. Your fleet and Command Ship are given to you at your first planet-explore; the Command Ship starts online only if you can carry its 50 W draw, so verify both before you initiate. You need an Ore Extractor and Ore Refinery.

Note on -D: this path uses the canonical -D 3 (see conventions). In the structsd v0.23.0 CLI the -D gate does not actually wait — the compute starts hashing at launch and keeps a core busy until it finds a proof — so run computes in the background on a machine that can spare a core.

Ore Extractor (type 14)

Initiate (CLI prompts):

structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -- [player-id] 14 land 0

Then compute in background — struct-build-compute is an expedition that auto-activates the struct when the proof lands, so it must run unattended (hence -y):

structsd tx structs struct-build-compute -D 3 --from my-key --gas auto --gas-adjustment 1.5 -y -- [struct-id]

Build difficulty 10. The proof reaches its minimum ten blocks (~1 minute) after initiation and completes instantly. The struct auto-activates. Do not wait for it before initiating the Refinery — build-initiate costs 1 charge, so the next initiation is allowed one block later.

Ore Refinery (type 15)

structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -- [player-id] 15 land 1
structsd tx structs struct-build-compute -D 3 --from my-key --gas auto --gas-adjustment 1.5 -y -- [struct-id]

Build difficulty 700. Difficulty reaches 3 when the build is about 57 minutes old (and 1 at 700 blocks, ~70 minutes). This is the long pole of onboarding; everything else fits inside it.

After both initiations, print the state card again. Replace “Next build draw” with the remaining build or activation load, list both build job IDs and ETAs, and name the exact next action. A pending build is visible progress; do not report it as a completed struct.

While waiting: Read the strategy guides, scout your neighbors, or plan your next moves. Don’t sit idle.


Step 6: Mine and Refine

Once both structs are online, start the mining loop. Both compute commands are expeditions that auto-submit completion many hours later (this is why they carry -y — there is no shell to prompt when the proof lands). See SAFETY.md “The -y Rule.”

structsd tx structs struct-ore-mine-compute -D 3 --from my-key --gas auto --gas-adjustment 1.5 -y -- [extractor-struct-id]

Start the refinery compute alongside the mine, even though stored ore is still zero. Ore is checked when refinement completes, not when the refinery begins aging. On similarly fresh clocks, mining lands first (~17h at D=3) and refinement lands around ~34h, cutting first Alpha from a serial ~51h to ~34h and reducing the usual exposure window to roughly the remaining ~17h.

structsd tx structs struct-ore-refine-compute -D 3 --from my-key --gas auto --gas-adjustment 1.5 -y -- [refinery-struct-id]

Mining and refining are multi-hour background operations. Track both jobs and their expected settlement windows. When mining lands, print a warning: all newly mined storedOre is raidable, with no partial-loot or refund path, until the already-running refinement lands.


What You Need to Know

Energy is ephemeral. Energy produced in a block but not consumed is permanently lost. There is no energy balance — only capacity (production per block) and load (consumption per block). Idle capacity is waste.

Gameplay transactions are free. Ordinary pure Structs gameplay transactions use a dedicated free-gas meter; MsgGuildCreate, MsgReactorRestart and MsgUpdateParams use ordinary paid gas (see transactions). You still pass --gas auto (the meter is metered, not unlimited), and you must be online (powered) and hold enough charge to act. Being powered is a gate on acting, not a per-transaction fee.

Ore is a liability. Mined ore sitting in your inventory can be stolen in a raid. Refine it immediately into Alpha Matter, which cannot be stolen. Refined Alpha is deposited in your vault, not on your signing key — read it with structsd query bank balances [vault-address] or as playerInventory.rocks on the player query.

Power keeps you alive. If your load exceeds capacity, you go offline and can’t act. Monitor with structsd query structs player [id].

Use -- before entity IDs. IDs like 1-42 look like flags to the CLI parser. Always place -- between flags and positional arguments.

One signing key, one transaction submission at a time. Background computes may overlap when their expected completion windows are well separated; the fresh mine/refine pair above normally settles ~17 hours apart. Do not overlap same-key computes likely to finish together (for example, two equally aged builds): their auto-submissions can collide on account sequence and one can fail silently. Sequence those jobs or use a signing queue.

Reconnecting to a long compute. Mining and refining can run for 17-34 hours. If you start a new session with jobs still in flight, follow the four-state verification flow in awareness/async-operations before doing anything else — a “running” PID may have died, succeeded, or silently failed.

Safety is the contract. Re-read SAFETY.md whenever you escalate to Tier 1 or Tier 2 operations. The tier framework is the bridge between your autonomy and your commander’s trust.


Where to Go Next

You’re mining. Now expand your capabilities:

Core loop (master these first):

Skill What It Does
structs-production The mine → refine → stake pipeline; ore vulnerability, depletion handoff
structs-building Build any struct type, defense placement, stealth, generator infusion
structs-planets-fleet Planet evaluation, exploration, fleet movement, evacuation
structs-energy Capacity management, offline recovery, substations, infusion
structs-combat Attacks, raids (shield-vulnerability doctrine), defense, ambit targeting

Economy & social:

Skill What It Does
structs-commerce Providers, agreements, reactor staking, guild Central Bank, token transfers
structs-guild Choosing/joining a guild, ranks, membership, UGC moderation, banking
structs-permissions Permissions, multi-address management, delegate agents
structs-intel Scouting players/planets/guilds; persisting intel to memory

Advanced infra:

Skill What It Does
structs-streaming Real-time GRASS/NATS events for automation
structs-guild-stack Local node + PostgreSQL for advanced queries

Knowledge Base

Topic Link
Combat mechanics knowledge/mechanics/combat
All struct types knowledge/entities/struct-types
Power (quick card) knowledge/mechanics/power
Energy system knowledge/mechanics/energy
Defense (quick card) knowledge/mechanics/defense
Proof-of-work knowledge/mechanics/hashing
Energy market knowledge/economy/energy-market
Fleet movement knowledge/mechanics/fleet
Early game strategy playbooks/phases/early-game
Async operations awareness/async-operations

Identity

File Purpose
config/operator.md (repo-local) Goals, autonomy, standing orders
AGENTS.md Full agent guide
TOOLS.md Environment / MCP

Commands Reference

Action Command
Explore planet structsd tx structs planet-explore --from [key] --gas auto -- [player-id] [name]
Build struct structsd tx structs struct-build-initiate --from [key] --gas auto -- [player-id] [type-id] [ambit] [slot]
Compute build structsd tx structs struct-build-compute -D 3 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Mine ore structsd tx structs struct-ore-mine-compute -D 3 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Refine ore structsd tx structs struct-ore-refine-compute -D 3 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Query player structsd query structs player [id]
Query planet structsd query structs planet [id]
Query struct structsd query structs struct [id]

TX_FLAGS (interactive — the CLI prompts you to confirm): --from [key-name] --gas auto --gas-adjustment 1.5

TX_FLAGS_APPROVED (only after commander approval; suppresses the prompt): TX_FLAGS plus -y. See SAFETY.md “The -y Rule.” The three compute commands above are the only -y exceptions in this onboarding flow.

Always use -- before entity IDs in transaction commands.