Overview
The at-a-glance map. Find your goal, then follow the path.
| Goal | SDK functions | MCP commands | Chain |
|---|---|---|---|
| Private key: give an agent a wallet and a policy | createWallet, grantSession, execute, revokeSession | create-wallet, grant-session, send-tx, revoke-session | BNB |
| Passkey: give an agent a wallet and a policy | createPasskeyWallet, grantSession, recoverFromPasskey | (browser SDK) | BNB |
| Agent trades on DEX, capped | grantSession (scoped), execute | grant-session, session-execute | BNB |
| Portfolio with multiple agents | grantSession (×2), execute, Keystore read, revokeSession | grant-session, session-execute, verify-session, revoke-session | BNB |
| Verify agent authority from anywhere | Keystore read (isValidKey + keccak256) | verify-session | any |
| Authorization across chains | grantSession, ensureKeyCached, execute | (SDK) | Ethereum → Base |
| Agent pays for an API with x402 | grantSession, approveTokenForPermit2, approveSignatureChecker, fetchWithX402 | x402_request (tool only, no slash command) | BNB / Base |
The paths build on each other. Give an agent a wallet and a policy is the hello-world every other path assumes. Start there if you are new, or jump to whichever goal matches your situation.