NewSafeThread
NewSafeThread creates a safe thread.
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoland/boards2/v1/hub.NewSafeThread()"
Result
Package hub exposes safe, read-only views over boards2's persistent state. The Get* functions are crossing functions: callers must invoke them with `cross` (e.g. `hub.GetBoard(cross, id)`). The crossing into hub gives each call a live `cur` whose `Previous()` is the caller's realm — that's what boards2's protected entry points use for the namespace check.
Note for future maintainers: inside a Get* body, `cur.Previous()` is the *immediate* caller's realm, which may be an intermediary, not necessarily the end user. Do not graft user-identity gating onto these reads.
NewSafeThread creates a safe thread.
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoland/boards2/v1/hub.NewSafeThread()"