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

campaign package

Overview

Package campaign is a near-verbatim copy of the real gems6/campaign realm, redeployed here under the test address so this whole reveal-delay + gemsartfab prototype is self-contained and testable without touching the live gems6 deployment or needing the vesting wallet's own key. Logic is unchanged from the original -- see that package's own doc comments for the full design rationale (why a dedicated prunable realm instead of a Merkle root, the stacking rule in grantOne, etc.).

Function

RemoveWalletsBatch

func RemoveWalletsBatch(cur realm, walletsCSV string)

Param

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/g17cjym5e9hhws46lt6329pv2gtx2ay0503hgems/gems/campaign" -func "RemoveWalletsBatch" -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/g17cjym5e9hhws46lt6329pv2gtx2ay0503hgems/gems/campaign" -func "RemoveWalletsBatch" -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