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.90 Kb · 52 lines

Linktree

⚠️ 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


A personal links page, one profile per address. Each caller owns their own profile: they set a bio and add or remove labeled links. Anyone can browse a profile at /<address>, and the root page lists every profile that exists with a link to each. Profiles are stored in an ordered AVL tree so rendering is deterministic.

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

Example calls

# set your bio
SetBio("Gnome builder, coffee enthusiast")

# add links
AddLink("Home", "https://example.com")
AddLink("GitHub", "https://github.com/me")

# remove the first link (0-indexed)
RemoveLink(0)

Render

  • Render("") — index of all profiles, each linking to its page.
  • Render("/g1abc...") — that address's bio + links as a Markdown bullet list.

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