Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

blog package

Overview

Package blog is Jae Kwon's personal blog on gno.land, built on gno.land/p/gnoland/blog/v0, the package behind gno.land's own blog.

Who can do what:

  • The owner (Jae's Ledger key) decides who may write, and can hand the blog to a new owner in two steps, so a typo can't lose it.
  • Writers and the owner add, edit and remove posts.
  • Everyone else can only read.

What this realm adds on top of the package:

  • Render answers only the blog's own routes, with slugs and tags limited to a-z, 0-9, '-' and '_', so nothing typed into a URL is echoed into the page as markdown (the package's tag page echoes it).
  • Edit removes the old post and adds it back, so the home page and the title index never keep a stale copy (the package's in-place edit does).
  • No comments, and nothing hands out a pointer to the blog or a post.

Function

IsWriter

func IsWriter(addr address) bool
Ask AI Claude ChatGPT

IsWriter reports whether addr may add, edit and remove posts.

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/nym-nobody777/blog.IsWriter()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/nym-nobody777/blog, for example a function call with arguments.