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.

reader package

Overview

Package reader is the batch JSON read API for the frontend and the aggregator (design §2.5.6). It is private (re-deployable in place, no other realm may import it) and holds no state or money: everything comes from core, market and r/sys/users.

Every string goes out through safe.JSONWriter, so stored text can never forge a record (RA H-1: the old TSV reader split on tabs and newlines). Art is never batched: one token per Art call, because SVG rendering is what exhausted the query gas in nftread1 (RA L-9).

Function

StudioTraits

func StudioTraits(engineID, params string, from, n int64) string
Ask AI Claude ChatGPT

StudioTraits is TraitCounts for an engine and params over n sample seeds (engine.SampleSeed(from) …), for the Studio's rarity preview.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g19dzk54hhsdc3gllpksuj6gu4a3e6fl8cr6rn4w/sinopia/reader.StudioTraits(,,,)"

Result