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.

config.gno

1.13 Kb · 23 lines
 1package giornatev2
 2
 3// Deploy-time configuration (mainnet plan §3.1, M-8, M-10, M-27). Staging
 4// (WP-H, deploy/realms/<chain>.json) rewrites this file per chain; the
 5// source carries the Onyx values.
 6
 7// author is the platform engine-author key (S-8: no other role). It signs
 8// Register and ClaimEngine (core I-14: every registration is signed by the
 9// manifest author). Core's reserved table names this engine's fingerprint
10// with the same key, so the two must be staged equal.
11var author = address("g1nm8kd8hsmp6pr7mudj2c3y2hnmnl8awx7vcz4m") // stage:engineAuthor
12
13// AuthorFeeBps is the author's fee on primary and secondary sales of
14// collections by other creators (engine.Manifest.FeeBps; waived for the
15// author's own collections, capped by core's engine-fee cap). Showcase
16// engines 1 % (decision §6-4).
17const AuthorFeeBps = 100
18
19// Access policy (core I-19, docs/mainnet/engine-access-policy.md): a
20// signature engine, "closed". Core registers every engine closed and the
21// bootstrap leaves it so, so only the author key opens collections with it;
22// the author may later license creators (core.GrantLicence) without a new
23// deploy.