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

probe1789429680 package

Overview

Package probe1789429680 is a minimal, throwaway realm deployed ONLY to confirm two mainnet-specific behaviors before the real gems5 launch: (1) whether a freshly-deployed package is immediately callable or held in some "inert until enabled" state, and (2) whether the exact AssertOriginCall + OriginSend + BankerTypeRealmSend payment-check pattern gems5/v1's MintAssembled relies on still behaves as expected on mainnet's current node build. Not part of the Gems collection -- disposable.

Function

TestPayment

func TestPayment(cur realm)

TestPayment mirrors gems5/v1's MintAssembled payment check exactly. Forwards whatever ugnot is attached straight back to owner, so this costs only gas + storage deposit, not the attached amount itself.

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/g1gn6t0q9wenwhdda47rkrpfd63kcxjvyp7eqwku/probe1789429680" -func "TestPayment" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "http://127.0.0.1:26657" ADDRESSgnokey query -remote "http://127.0.0.1:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1gn6t0q9wenwhdda47rkrpfd63kcxjvyp7eqwku/probe1789429680" -func "TestPayment" -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 "http://127.0.0.1:26657" call.tx