# Microblog Wall
> ⚠️ **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](https://github.com/moul/gno-contracts/blob/main/r/moul/x/daily/README.md)
---
A public, append-only microblog for gno.land. Anyone can post a short message
(up to 280 bytes); each post records the caller's address and the block height
at which it was made. The `Render` view shows the wall newest-first, 20 posts
per page, with total count and prev/next pagination driven by the render path.
- **Realm path:** `gno.land/r/REPLACE_ADDR/microblog`
- **Gno version:** 0.9 (sapphire)
## API
- `Post(cur realm, msg string)` — crossing tx. Panics if `msg` is empty or
longer than 280 bytes. Stores `{author, msg, height}`.
- `Count() int` — total number of posts.
- `Render(path string) string` — Markdown wall, newest-first, paginated.
## Example calls
Post a message (crossing call via `gnokey`):
```sh
gnokey maketx call \
-pkgpath "gno.land/r/REPLACE_ADDR/microblog" \
-func Post \
-args "gm gno.land 👋" \
-gas-fee 1000000ugnot -gas-wanted 2000000 \
-broadcast -chainid sapphire-1 -remote <rpc> mykey
```
View the wall in gnoweb:
```
https://gno.land/r/REPLACE_ADDR/microblog # page 1 (newest 20)
https://gno.land/r/REPLACE_ADDR/microblog:?page=2 # older posts
https://gno.land/r/REPLACE_ADDR/microblog:/2 # same page, path form
```
From another realm:
```go
import "gno.land/r/REPLACE_ADDR/microblog"
func Shout(cur realm) {
microblog.Post(cross(cur), "posted from another realm")
}
```
<!-- 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.
> 🧪 **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 -->
Count() int
Post(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, msg string)
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.