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

blog/v0 package

Overview

Package blog is a multi-author on-chain blog realm for gno.land.

Any caller can Publish a post; posts are stored persistently and rendered newest-first. Each post records its author (the calling address) and the block height at which it was published.

Function

PostCount

func PostCount() int

PostCount returns the number of published posts.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/blog/v0.PostCount()"

Result