Learn how to use Compass API SDK with ZeroDev for smart account operations
Install Dependencies
Set Environment Variables
.env
file in your project root:Import dependencies and initialize clients
Create signer, validator, kernel account, and paymaster
Create and prepare batched operations
Send batched operations and handle result