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

nsview/v1 package

Overview

Package nsview is the human-facing view — the third realm in the split, and the newest (2026-08-21).

It exists because an adversarial review found three defects in the old Render(), which lived inside the permanent `nsdata` vault: unescaped profile text injected into the page markdown, an O(domains × names) home page any user could inflate into a permanent denial of service, and navigation links that 404'd. All three were display bugs, and none of them could ever have been fixed, because that realm is deployed exactly once. The NFT artwork moved here for the same reason.

Display code is swappable now. This realm holds no state, reads everything from nsdata's exported API, and can be redeployed and re-pointed at any time with nothing to migrate.

Function

NameplateSVG

func NameplateSVG(label, domain, face, pos string, light bool, expires int64) string
Ask AI Claude ChatGPT

NameplateSVG composites the name, the asterisk and the expiry over whatever is already on the card.

Example
1face   "mono" | "serif" | "sans"
2pos    "top" | "middle" | "bottom"
3light  true  = white letters with a black border
4       false = black letters with a white border

Only two ink pairs exist, and that is not a limitation waiting to be lifted. Both read on every background there is; a free colour choice does not, and mid-grey lettering on a mid-grey drawing is exactly what somebody will pick.

`now` is deliberately absent from the signature. Nothing here counts down, so nothing here needs the clock — see the note on the expiry.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-mnsrehearsal001/nsview/v1.NameplateSVG(,,,,,)"

Result