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

README.md

1.67 Kb · 33 lines

gno.land/r/moul/x/pilotdemo/v0

A power for a realm-driven account: a payout module installed into r/moul/pilot after that account was already deployed. Demo of p/moul/pilot.

It shows both delegation modes in one realm, which is the point of the pair:

  • Pay goes through the account's revocable purse. Revoke stops it on the next call even though this realm still holds the purse object.
  • Under an identity grant it acts as gno.land/r/moul/pilot/v0#payout toward another realm, and spends the sub-treasury through a banker it mints and keeps. That is deliberate: it is what makes the test TestIdentityGrantOutlivesRevoke pass, and what an identity grant costs.

InstallInto takes the account handle as a value rather than importing one account, so a module is not bound to a single instance. gno has no dynamic call, so a gnokey maketx run script is what passes the handle; MsgCall cannot.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/pilotdemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.