Build faster.
Ship with confidence.
The Eraivo SDK gives you a single typed interface to every chain the platform supports. Write your integration once and extend it to new chains without changing application logic.
From zero to first intent in under ten minutes.
Install the SDK
Add @eraivo/sdk to your project with npm, yarn, or pnpm. The SDK ships with full TypeScript types and has no peer dependencies beyond viem for EVM chains.
Configure the client
Initialise the Eraivo client with your API key and target chain. The client automatically selects the correct adapter based on the chain identifier you provide.
Submit an intent
Call client.submit() with an intent payload describing the desired outcome. The SDK validates the payload locally before dispatching it to the relayer network.
Observe settlement
Subscribe to the intent stream via client.watch() or poll client.status() to track execution progress and retrieve the settlement proof once finality is reached.
Every method you need, nothing you do not.
Submit an intent to the relayer network. Returns a promise resolving to an intent ID.
Poll the current status of a submitted intent — pending, executing, settled, or failed.
Subscribe to real-time status updates for an intent via a WebSocket stream.
Dry-run an intent against a forked chain state without committing. Returns gas estimates and revert reasons.
Fetch a one-time nonce for SIWE authentication flows.
Query on-chain state through the Eraivo indexer. Supports EVM, Solana, and Cosmos read operations.
Retrieve indexed event logs matching a filter. Supports block ranges, address filters, and event signatures.
Full reference for every SDK method, REST endpoint, and configuration option.
Source code, issue tracker, and contribution guide. MIT licensed.
Community support, release announcements, and direct access to the engineering team.
Version history, breaking changes, and migration guides for every release.
Responsible disclosure programme and security architecture overview.