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.09 Kb · 21 lines
 1package genesis
 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's reserved-fingerprint table names the same
 9// key (r/core config.gno platformAuthor), so the two must be staged equal.
10var author = address("g1nm8kd8hsmp6pr7mudj2c3y2hnmnl8awx7vcz4m") // stage:engineAuthor
11
12// AuthorFeeBps is the author's fee on primary and secondary sales of
13// collections by other creators (engine.Manifest.FeeBps; waived for the
14// author's own collections, capped by core's engine-fee cap). User
15// decision §6-4: genesis 0 % (the platform's own base engine).
16const AuthorFeeBps = 0
17
18// Access policy (core I-19, docs/mainnet/engine-access-policy.md): a tool
19// engine, "open". Core registers every engine closed; the bootstrap calls
20// core.SetEnginePolicy(<this realm>, "open") with the author key right after
21// ClaimEngine (deploy/realms/<chain>.json engines.<name>.policy).