Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

nft/v1 package

Overview

Package nft is the Launchpad collection ledger. Each collection is a GRC721 token whose transfer mode, royalties and metadata rules are fixed at creation. Collections are created, and their tokens minted, only by issuer realms: the Launchpad drops realm and any realm the config admin adds. Holders move, approve and burn their own tokens. The ledger has no admin of its own: nothing here can move a holder's token or change a collection's terms, and a paused lane stops only new collections and new mints.

Function

ProposeCreator

func ProposeCreator(cur realm, id string, next address)

ProposeCreator starts handing the creator role to another account. Nothing changes until that account accepts; an empty address withdraws the offer.

Params

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/samcrew/launchpad/nft/v1" -func "ProposeCreator" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/samcrew/launchpad/nft/v1" -func "ProposeCreator" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx