Prerequisites
- A Cavos App ID from the Dashboard
- A React or Next.js application
Installation
- npm
- yarn
- pnpm
Setup
1. Configure the Provider
Wrap your application withCavosProvider:
2. Authentication
3. Execute Transactions
After authentication, transactions work immediately. No additional setup required.- After
login(), the SDK generates a session key and derives the wallet address - The account is deployed automatically (gasless via AVNU Paymaster) if not yet on-chain
- The session key is registered on-chain —
walletStatus.isReadybecomestrue - All transactions are signed with the session key (no popups) and sponsored by the paymaster
- Sessions expire after 24h and auto-renew within a 48h grace period
The Flow
Next Steps
Core Concepts
Understand OAuth wallets, JWT verification, and session keys.
Authentication
Google, Apple, and Magic Link flows.
Transactions
Gasless transactions, multicall, and session policies.
React Hooks
Full useCavos API reference.

