Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

genesis source realm

Package genesis is the thin adapter that registers the genesis engine (p/…/art/art/genesis/v1) with core. It dogfoods...

Overview

Package genesis is the thin adapter that registers the genesis engine (p/…/art/art/genesis/v1) with core. It dogfoods the third-party path: core knows genesis only as this realm's package path plus an interface value.

The adapter is stateless and has no admin: what it renders is fixed by the p/ package it imports, which can never change. Never mark this realm private (design §5.4: a re-deployable adapter could swap the art).

Functions 3

func Register

crossing Action
1func Register(cur realm) string
source

Register is an explicit call, not init: under the inert package policy init runs inside the approver's transaction (RA B-1). Anyone may call it; it can only ever register this realm, once.

func RenderSeed

Action
1func RenderSeed(seed, params string) string
source

RenderSeed and TraitsSeed are the plan-B surface (design §5.6): if dynamic registration fails on chain, readers call the engine directly.

Dependencies

Source Files 2