Purpose: AI-readable reference for Structs Central Bank mechanics, token minting, collateral management, and guild token lifecycle.
Guilds operate Central Banks that mint tokens backed by Alpha Matter collateral. This creates guild-specific economies—members can transact in tokens rather than raw Alpha Matter. The system is trust-based: token value derives from collateral ratio and guild credibility. Control of a Central Bank is control of a guild’s economic engine.
| Concept | Description |
|---|---|
| Founding issuance | guild-create costs 2,000,000 ualpha from the founder’s vault: 1,000,000 is burned and 1,000,000 becomes the new guild’s opening collateral, minting 1,000,000 base units of uguild.<id> into the guild vault. Every guild token therefore starts life 1:1 backed |
| Guild vault | The guild’s own protocol account (structsd query structs vault [guild-id]). Holds the founding tokens, mint output, rank-sale revenue and any Alpha the guild earns. Spent with vault-send/player-send (PermTokenTransfer on the guild) |
| Collateral | Alpha Matter held in the guild bank collateral pool; backs token value |
| Collateral ratio | Live collateral / supply. Convert and redeem both read this ratio at action time |
| Minting | Guild-privileged (PermGuildTokenMint): moves Alpha from the guild vault into collateral and issues tokens at a chosen amount into the guild vault (guild-bank-mint). The signer’s own funds are never used |
| Convert | Open path: anyone with PermTokenTransfer can turn ualpha from their player vault into an existing uguild.{id} at the live ratio (guild-bank-convert), credited back to the same vault. Convert-in fee stays in that guild’s collateral. minAmountToken is the required slippage floor |
| Convert-token | Atomic token→alpha→other token (guild-bank-convert-token). Source guild keeps convert-out fee; target guild keeps convert-in fee |
| Redemption | Tokens are burned from the redeemer’s player vault and Alpha is paid into it; payout is floor(amount * collateral / supply) (guild-bank-redeem); CLI requires min-amount-alpha |
| Rank sales | A guild may price ranks in its own token (guild-update-rank-purchase); buyers pay from their vault into the guild vault (guild-rank-purchase, guild-membership-join-by-rank-purchase). This is the token’s first built-in sink and a steady demand source |
| Send restriction | uguild.* may only go to a registered player, a player or guild vault, the structs module account, or an indexed provider pool — not IBC, not an unregistered address (recipient_not_eligible) |
| Phase | Action | Notes |
|---|---|---|
| Founding | 1,000,000 ualpha collateral → 1,000,000 uguild.<id> in the guild vault |
Automatic on guild-create; another 1,000,000 ualpha is burned |
| Minting | Guild vault deposits Alpha; tokens land in the guild vault | Privileged; ratio captured at action time |
| Convert in | Holder spends ualpha for tokens at the live ratio |
Open market path; fee stays in collateral |
| Circulation | Tokens used for payments, agreements, rank purchases, internal trade | Trust in guild still determines acceptance; vault-send is the native rail |
| Convert across | guild-bank-convert-token redeems source then mints target |
Both guilds keep their fees |
| Redemption | Token holders redeem for Alpha | floor against current collateral and supply; CLI requires min-amount-alpha slippage |
| Factor | Implication |
|---|---|
| Strong reserves | Guild can extend credit, pay mercenaries, fund operations in token |
| Raids on reserves | Drain Alpha Matter → weaken token backing → credibility collapse |
| Guild stability | Agents should evaluate collateral health when assessing guild viability |
| Independent operators | No token access unless trading for them; must use Alpha Matter |
| Aspect | Guild (with Central Bank) | Independent |
|---|---|---|
| Token access | Yes | No (must trade) |
| Payment options | Alpha Matter or guild tokens | Alpha Matter only |
| Credit extension | Possible via token | No |
| Mercenary payment | Token or Alpha Matter | Alpha Matter only |
Security warning: Guild tokens are trust-based. Guilds have full control over their Central Bank. There are no technical safeguards preventing a guild from revoking tokens or mismanaging collateral. Token revocation can be used as economic warfare – but damages reputation.
HTTP bank read. Mint, redeem, and convert are still chain transactions. Live collateral, supply, and ratio are on the guild webapp:
GET /api/guild-bank(every guild) andGET /api/guild-bank/{guild_id}/history?bucket=(30-day mint/burn/infuse volume). Holder balances:GET /api/inventory/denom/{denom}/page/{n}orGET /api/inventory/owner/{owner_type}/{owner_id}. Format amounts fromGET /api/denom. Charting map:api/webapp/analytics.md. Chainbankqueries remain authoritative if the indexer lags (meta.heightvs/api/block).
Commands: structs-guild and structs-commerce.
schemas/entities.md — Guild entity definition