Purpose: AI-readable reference for Structs energy agreements, pricing dynamics, supply/demand, and entity relationships. How energy flows between players.
Energy is ephemeral—produced from Alpha Matter via conversion structs, consumed by structs and operations. It cannot be stored. Energy agreements create self-enforcing subscriptions between providers (sellers) and consumers (buyers). Energy is shared across a player’s structs via substation connections.
| Entity | ID Format | Role |
|---|---|---|
| Provider | 10-{index} |
Offers energy capacity; owned by player; linked to substation |
| Agreement | 11-{index} |
Binds provider to consumer; defines capacity, duration, rate |
| Allocation | 6-{index} |
Distributes energy from source to destination |
Provider → Agreement → Consumer (Player)
↓
Allocation: sourceId (Provider/Reactor) → destinationId (Player/Struct)
provider-create. Provider exposes capacity from substation.agreement-open. Links provider to consumer; specifies capacity, blocks, rate.| Factor | Effect |
|---|---|
| Alpha Matter scarcity | Higher energy cost; producers charge more |
| Raid activity | Supply shocks when reactors/providers go offline |
| Guild coordination | Members may subsidize each other via agreements |
| Struct count | More structs = higher demand; power grid strain |
Pricing dynamics: Energy agreements use rateAmount/rateDenom (Alpha Matter per unit). Market-clearing depends on provider availability, consumer willingness to pay, and cancellation penalties.
| Facility | Rate | Risk | When to Use |
|---|---|---|---|
| Reactor | 1g = 1 kW | Low | Baseline; redundancy |
| Field Generator | 1g = 2 kW | High | Efficiency when risk acceptable |
| Continental Power Plant | 1g = 5 kW | High | High output, high risk |
| World Engine | 1g = 10 kW | High | Maximum efficiency; single point of failure |
See struct-types.md for build costs and power requirements.
Providers define (per database schema):
| Field | Purpose |
|---|---|
| rateAmount / rateDenom | Price per unit capacity |
| capacityMinimum / capacityMaximum | Offer range |
| durationMinimum / durationMaximum | Agreement length |
| accessPolicy | Who can subscribe |
| providerCancellationPenalty / consumerCancellationPenalty | Early exit cost |
| Need | Endpoint |
|---|---|
| Provider by ID | GET /structs/provider/{id} |
| Agreements by provider | GET /structs/agreement_by_provider/{providerId} |
| Allocations by source | GET /structs/allocation_by_source/{sourceId} |
| Allocations by destination | GET /structs/allocation_by_destination/{destinationId} |
| Concept | Purpose |
|---|---|
| Infusion | Record of energy production – who put Alpha Matter into which conversion struct |
| Allocation | Routing of energy capacity from source to Substations |
Allocation types:
| Property | Meaning |
|---|---|
| automatic | Executes on-chain without manual intervention |
| penaltyProtection | On-chain penalty enforcement for violations |
| persistent | Long-term, survives across sessions |
| selfEnforcing | Terms enforced by blockchain, no trust required |
Provider selection criteria: rate, price, available capacity, penaltyProtection, reputation.
schemas/entities.md — Provider, Agreement, Allocation definitionsapi/queries/provider.md, api/queries/agreement.md, api/queries/allocation.md