# Trie Autocomplete
> ⚠️ **Experimental — generated with no human supervision** by the daily MCP pipeline to exercise gno tooling. Not audited. See [r/moul/x/daily](https://github.com/moul/gno-contracts/blob/main/r/moul/x/daily/README.md).
---
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`](https://github.com/moul/gno-contracts/tree/main/p/moul/x/daily/trie/v0)
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/moul/x/daily/triedemo/v0 → dictionary size + a few prefixes to try
/r/moul/x/daily/triedemo/v0:co → the 10 words starting with "co"
/r/moul/x/daily/triedemo/v0:trie → "trie" is itself a word
/r/moul/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.
<!-- BEGIN GNOCONTRACTS FOOTER (generated by `make readmes`; do not edit below) -->
---
Part of **[moul/gno-contracts](https://github.com/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](https://github.com/moul/gno-contracts/blob/main/DISCLAIMER.md).
<!-- END GNOCONTRACTS FOOTER -->
Render(path string) string
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.