Developer documentation for @barzkit/sdk.
- Quickstart — From zero to first transaction in 5 minutes
- Installation — Prerequisites, npm install, API keys
- Concepts — ERC-4337, Diamond Proxy, passkeys for non-blockchain developers
- Create an Agent Wallet —
createBarzAgent()full walkthrough - Permissions — Spending limits, contract whitelists, time windows
- Gasless Transactions — How the paymaster covers gas fees
- Batch Transactions — Atomic multi-call in a single UserOperation
- DeFi Actions — Swap (Uniswap V3) and Lend (Aave V3)
- Safety & Kill Switch — Freeze/unfreeze, Guardian Facet
- Multi-Chain — Sepolia, Base Sepolia, Base mainnet
- AgentConfig — Configuration interface
- BarzAgent — Agent wallet interface, all methods
- AgentPermissions — Permission boundaries
- Errors — Error classes and codes
- Chains — Supported chains and configuration
- Diamond Proxy for Agents — How EIP-2535 facets enable granular agent permissions
- x402 Payments — Machine-to-machine payments (Phase 3)
- ElizaOS Plugin — AI framework integration (Phase 3)