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.

gnofish package

Overview

Package gnofish is the GnoFish sale NFT. A listed wallet mints for free. Anyone else pays exactly 100 GNOT. An address may mint as many times as the 10000 cap allows. The portrait is rolled in the same call. Every NFT is owned by the admin. The whole 100 GNOT is sent to that admin. This realm does not add FISH liquidity. The height and the next id are public before the transaction, so the roll can be predicted. This is not drand. Adena reads OwnerOf, BalanceOf, TokenURI (the https image) and TokenMetadata (JSON, traitType). NewToken and Transfer come from the GRC721 ledger. This package does not swim, settle, or draw FISH. fishlive stays untouched. Nomaq lists with List, UpdatePrice, Cancel, and Buy. ItemLine and ListOpen feed the page. gnofish-1.

Function

TransferFrom

func TransferFrom(cur realm, from, to address, id int)
Ask AI Claude ChatGPT

TransferFrom moves a fish. The caller must own it or be approved for it.

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/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/gnofish" -func "TransferFrom" -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/g1n4pl5uc4yt5r96m9w6fmdznx3x0jyg8l6arhmt/gnofish" -func "TransferFrom" -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