Features
WaaP includes several features that work across both the SDK (for apps) and the CLI (for agents). This section describes the concepts; see the SDK and CLI guides for implementation details.
Permission Tokens
Permission Tokens enable pre-approved transaction flows. A user or agent grants a scoped token—bound by spend limit, allowed addresses, chain, and expiration—and subsequent qualifying transactions are signed automatically without additional prompts.
- Apps: Request Permission Tokens via
window.waap.requestPermissionToken()for seamless in-app UX - Agents: Pass
--permission-tokento CLI commands to bypass 2FA for approved scopes
Async Transactions
Async transaction mode decouples signing from the UI thread. Instead of blocking until confirmation, the request returns immediately with a pendingTxId, and progress is reported via events (waap_sign_pending, waap_tx_confirmed, etc.).
This enables non-blocking UX in apps and efficient batch operations in agent workflows.
→ Async Transactions deep dive
Gas Tank
Gas Tank enables sponsored transactions so end users and agents don’t need to hold native tokens for gas fees. Useful for onboarding users who don’t yet have crypto, or for agents that primarily interact with tokens and contracts.
- Apps: Gas Tank SDK guide
- Agents: Gas Tank CLI guide