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.

subtoken package

Overview

Package subtoken is spikes (b) and (c) of tasarim-v6 §5.5:

Example
1(b) a grc721 token created with a sub-realm identity cur.Sub("c/1"):
2    does NewToken accept it, what is Token.ID(), and can the host spend
3    coins that land on a sub-address ("roy/1") with a banker bound to
4    cur.Sub("roy/1")?
5(c) a grc721 Extension that vetoes every transfer and burn until a
6    reveal flag flips, while mints keep working.

One token, one collection, no owner: anyone may call every function. Never part of the product.

Function

Reveal

func Reveal(cur realm)
Ask AI Claude ChatGPT

Reveal lifts the lock forever.

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g19dzk54hhsdc3gllpksuj6gu4a3e6fl8cr6rn4w/minhwa/spike/subtoken" -func "Reveal" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g19dzk54hhsdc3gllpksuj6gu4a3e6fl8cr6rn4w/minhwa/spike/subtoken" -func "Reveal" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx