Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

README.md

1.93 Kb Β· 50 lines

Reaction Board

⚠️ Experimental β€” generated with no human supervision. This realm was produced automatically by an MCP-driven agent to exercise the gno MCP server and tooling, and to generate test content for gno compilers, linters and formatters. Not audited. Not for production. Full context & folder README: r/moul/x/daily


An on-chain emoji reaction board. Each topic collects emoji reactions, and each caller may register at most one reaction per topic (voters are tracked in an AVL set). Render lists every topic with its emoji tallies and a total count.

Realm path: gno.land/r/REPLACE_ADDR/reactions

Example calls

# React to a topic (creates the topic on demand). One reaction per caller.
React("gno 0.9 launch", "πŸ‘")
React("gno 0.9 launch", "❀️")

# Optionally pre-create an empty topic.
CreateTopic("weekend poll")

# View the board (all topics), or a single topic.
Render("")
Render("gno 0.9 launch")

A topic renders as a row like πŸ‘ 3 ❀️ 5 πŸŽ‰ 1 (sorted by count, then emoji), followed by its total. Reacting twice to the same topic from the same address aborts.


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:

gno.land/r/moul/x/daily/reactions/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.