Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

kilim source realm

Package kilim is the thin adapter that registers the Kilim engine (p/…/sinopia/art/kilim/v1) with core. Core knows th...

Overview

Package kilim is the thin adapter that registers the Kilim engine (p/…/sinopia/art/kilim/v1) with core. Core knows the engine 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).

Constants 1

const AuthorFeeBps

1const AuthorFeeBps = 100
source

AuthorFeeBps is the author's fee on sales of collections by other creators (engine.Manifest.FeeBps; 0 for the author's own collections). TODO(mainnet): product decision; 1% here so Onyx exercises the path.

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