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

pixels package

Overview

Package pixels is the real, permanent GNO Pixels realm -- gno.land/r/pixelsandbox (this project's earlier scratch deployment, never redeployable in place once live) was always the deliberately generic placeholder name described in this project's own README, kept around exactly so the design could keep changing without colliding with whatever this real deployment ended up being called.

Expandable bounds instead of a fixed size, per-pixel provenance (who placed it, at what block), and an owner-gated import hook for migrating the scratch realm's already-placed pixels into this one.

Function

ForceExpand

func ForceExpand(cur realm)

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/g188mapat33awn7r9uk08l0jc9my0n07fpmspxel/pixels" -func "ForceExpand" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "sapphire-1" -remote "https://rpc.sapphire.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.sapphire.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g188mapat33awn7r9uk08l0jc9my0n07fpmspxel/pixels" -func "ForceExpand" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "sapphire-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.sapphire.testnets.gno.land" call.tx