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

0.90 Kb · 17 lines
 1package upload
 2
 3// Deploy-time configuration (mainnet plan §2.4 M-27, §5.4): everything that
 4// differs per chain lives in this file, so staging (WP-H,
 5// deploy/realms/<chain>.json) rewrites one file. The source carries the
 6// Onyx values.
 7
 8// author is the engine author: it signs Register (core's in-source
 9// reservation of the card fingerprint needs OriginCaller == Manifest.Author
10// == the reserved author, I-14) and claims the engine (ClaimEngine). On
11// mainnet: the platform engine-author key, never the admin or treasury.
12var author = address("g1nm8kd8hsmp6pr7mudj2c3y2hnmnl8awx7vcz4m") // stage:engineAuthor
13
14// Access policy (core I-19, docs/mainnet/engine-access-policy.md): a tool
15// engine, "open". Core registers every engine closed; the bootstrap calls
16// core.SetEnginePolicy(<this realm>, "open") with the author key right after
17// ClaimEngine (deploy/realms/<chain>.json engines.<name>.policy).