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/v2 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

SkinCardSVG

func SkinCardSVG(name, art, lock string, light bool) string
Ask AI Claude ChatGPT

SkinCardSVG draws a skin token's own listing card.

Example
1name   the skin's name, as the shop shows it
2art    the sprite string
3lock   the extension it is restricted to, or "" for one that goes
4       on any name
5light  true  = pale lettering on a dark matte
6       false = dark lettering on a pale matte

The return is a whole document rather than a fragment, because unlike the nameplate this composites over nothing — it IS the card.

Params

Command

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

Result