Search Apps Documentation Source Content File Folder Download Copy Actions Download

chunk package

Function

SetChunkVerifiers

func SetChunkVerifiers(cur realm, worldID uint32, chunkKeys string, verifiers string)
Execute

SetChunkVerifiers sets multiple chunk verifiers at once using direct string traversal. chunkKeys and verifiers are comma-separated strings with matching item counts. Example: chunkKeys="0\_0,0\_1,1\_0", verifiers="hash1,hash2,hash3"

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/akkadia/chunk" -func "SetChunkVerifiers" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "dev" -remote "gnoland:26657" ADDRESSgnokey query -remote "gnoland:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/akkadia/chunk" -func "SetChunkVerifiers" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "dev" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "gnoland:26657" call.tx