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.70 Kb · 43 lines

Trie Autocomplete

⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.


A gnoweb autocomplete box: type a prefix in the URL and the realm lists every dictionary word that completes it, in lexicographic order.

Demo of the p/moul/x/daily/trie library — the tree, the ordering and the result cap all come from the package; this realm holds no trie logic of its own. The dictionary is a fixed 55-word list of gno/Go vocabulary, so the realm has no mutable state and Render is fully deterministic.

/r/nym-moultest123/x/daily/triedemo/v0        → dictionary size + a few prefixes to try
/r/nym-moultest123/x/daily/triedemo/v0:co     → the 10 words starting with "co"
/r/nym-moultest123/x/daily/triedemo/v0:trie   → "trie" is itself a word
/r/nym-moultest123/x/daily/triedemo/v0:zzz    → no match

Read-only: there are no state-changing functions, so nothing here costs more than a query. Results are capped at 25 per render.

Built for gno 0.9.


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/triedemo/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.