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.12 Kb · 22 lines
 1package kilim
 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: showcase engines 1 %.
16const AuthorFeeBps = 100
17
18// Access policy (core I-19, docs/mainnet/engine-access-policy.md): a
19// signature engine, "closed". Core registers every engine closed and the
20// bootstrap leaves it so (deploy/realms/<chain>.json engines.<name>.policy),
21// so only the author key opens collections with it; the author may later
22// license creators (core.GrantLicence) without a new deploy.