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.

pixelgnomes/v2 package

Overview

Package gnomes — Pixel Gnomes, one hundred of them.

Every gnome is drawn by this realm from its row in traitTable (traits.gno): no image files, nothing hosted. The table was picked off-chain, once, with a fixed seed (tools/gen-gnome-traits.py), so rarity is deliberate and no two gnomes share all nine traits.

ANYONE MAY CALL Mint, once. Every gnome goes to `owner`, fixed in the source, so it does not matter who sends the transaction.

OWNERSHIP IS LAZY: all hundred belong to `owner` from the mint without a hundred writes. A gnome is written down individually only the first time it moves.

ROYALTY is 5% to `royaltyReceiver`, reported by RoyaltyInfo in the EIP-2981 shape. It is advisory, as on every chain: a marketplace has to choose to pay it, and a direct wallet-to-wallet transfer does not.

Function

SafeTransferFrom

func SafeTransferFrom(cur realm, from, to address, tid string)
Ask AI Claude ChatGPT

SafeTransferFrom is TransferFrom: there is no receiver hook on gno.land.

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/g1r6luttvrkksxh9h4asjq2qd8zsd5nlkrzvyjur/pixelgnomes/v2" -func "SafeTransferFrom" -args $'' -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/g1r6luttvrkksxh9h4asjq2qd8zsd5nlkrzvyjur/pixelgnomes/v2" -func "SafeTransferFrom" -args $'' -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