Documentation Index
Fetch the complete documentation index at: https://docs.kavachos.com/llms.txt
Use this file to discover all available pages before exploring further.
Get credentials
Create an OAuth application
Go to Coinbase Developer Platform and create a new OAuth2 application.Set the Redirect URI to:Copy your credentials
After creating the app, copy the Client ID and Client Secret from the application settings.Configuration
lib/kavach.ts
Scopes
Default scope:wallet:user:read, wallet:user:email
| Scope | What it unlocks |
|---|---|
wallet:user:read | Read user profile and account info |
wallet:user:email | Read user’s email address |
wallet:accounts:read | Read wallet account balances |
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /auth/oauth/authorize/coinbase | Redirect to Coinbase |
| GET | /auth/oauth/callback/coinbase | Handle callback |