Skip to main content

Synopsis

Subcommands

cowboy entitlement grant

Grant an entitlement — a bounded, revocable permission for one address to use resources controlled by another. Behavior:
  1. Load the private key using key auto-discovery.
  2. Build an EntitlementGrant transaction with the supplied scope and limits.
  3. Submit it and print the transaction hash.
The granter is the transaction sender. After the grant is finalised, the grantee can perform --action against the --scope-actor within the declared limits until the entitlement is explicitly revoked or exhausted. Flags: Example:

Edge Cases

  • Only the use-owner-balance action is currently defined. Other action names are rejected at submission time.
  • Grants are revocable with a future cowboy entitlement revoke (tracked separately).
  • Limits are tracked on-chain as part of actor state; once exhausted, subsequent uses revert.