Skip to main content

Install

The SDK uses viem as a peer dependency. Install a compatible 2.x release in your application.

Requirements

  • Node.js 18+ or any modern JavaScript runtime (Bun, Deno)
  • TypeScript 5+ recommended
  • An RPC URL for each chain you want to interact with (e.g. Alchemy, Infura, or your own node)
  • A Gauntlet API key from the sign-up process
  • A Gauntlet builder code for attribution — request this alongside your API key from the Gauntlet partnerships team. Without it, deposits go through but volume is not attributed to your integration.
RPC URLs, PublicClient, and WalletClient are only needed for the transaction path. If you only read data through client.api, an API key is all the configuration required.

Peer Dependencies

The SDK communicates directly on-chain using your RPC URLs. It reads allowances, share prices, and vault state, then returns transaction objects you sign and submit through your own wallet infrastructure. You need a viem PublicClient and WalletClient in your application.
All transaction and Aera quote APIs are available from either public entry point:

Next Steps

Setup

Initialize the SDK and make your first deposit.

Reference

Full constructor, methods, result shape, and errors.