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

README.md

2.49 Kb · 34 lines

gno.land/r/nym-moultest123/x/daily/semverdemo/v0

Live demo of the p/moul/x/daily/semver Semantic Versioning library.

Holds the realm state the pure library deliberately does not — a "submitted versions" board (an avl.Tree of version string → submitter address) — and wires it to the chain, keying each submission by unsafe.PreviousRealm().Address():

  • Submit(cur, version) — validate with semver.Parse and post a version on-chain.
  • Render("/") — overview plus a table of worked examples.
  • Render("/<a>/<b>") — parse both and show the comparison, e.g. /1.2.3/1.2.10.
  • Render("/sorted") — everyone's submissions, lowest → highest precedence.

All parsing and comparison math lives in the library; this realm is just the board, the wiring, and the gnoweb view. Render it at /r/nym-moultest123/x/daily/semverdemo/v0.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

On mainnet: deployment status transactions unique callers deployed revision

Dependency graph:

gno.land/r/nym-moultest123/x/daily/semverdemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.