func Render
Render renders the demo for gnoweb.
Package commitrevealdemo is a small gnoweb demo of the commit-reveal scheme provided by the [p/moul/x/daily/commitrev...
gno.land/r/moul/x/daily/commitrevealdemo/v0Live demo of p/moul/x/daily/commitreveal.
A thin, stateless realm: it holds no state of its own and contains none of the
library's logic — Render just exercises the package and shows the result.
Because it is stateless, the rendered page is identical on every call and on
every node.
Render it at /r/moul/x/daily/commitrevealdemo/v0.
The library README explains the design and the trade-offs; this realm is the worked example.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
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.
Package commitrevealdemo is a small gnoweb demo of the commit-reveal scheme provided by the p/moul/x/daily/commitreveal(/p/moul/x/daily/commitreveal/v0) library: the two phases, and what the salt is for.
It contains no crypto of its own. Stateless, so Render is deterministic — which is precisely what the library is for.