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

AcceptOwnership

func AcceptOwnership(cur realm)
Ask AI Claude ChatGPT

AcceptOwnership completes a handover started with ProposeOwner.

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/nym-nobody777/blog" -func "AcceptOwnership" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/nym-nobody777/blog" -func "AcceptOwnership" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx
  

Gno Expression Evaluator

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