Building with an AI coding agent? Install
@sodax/skills so it writes
v2-correct code against these packages, and add the SODAX MCP so it can read the
live chain and token lists, quote a real pair, and search these docs as it goes.- Functional Modules:
Swaps: Quote and execute cross-network intents. SODAX routes and settles; solvers fill.Lend/Borrow: Interact directly with the SODAX money market logic.Leverage Yield: Leveraged yield vaults on the Sonic hub.Bridge: Core bridging primitives for asset transfer.Staking: Management of SODA staking and governance positions.Migration: Utilities for migrating ICX to SODA tokens.
- Tooling Modules:
Backend API: Provides useful data points for each featureIntent Relay API: Direct access to the intent propagation network.
- wallet-sdk-core Core (TypeScript): A pure TypeScript implementation of wallet providers. Use this if you are building a custom frontend framework or a non-React application.
- wallet-sdk-react React Adapter: An opinionated wrapper optimized for React applications, providing pre-built context providers and state management for wallet connections.
SodaxProvider (the required outermost wrapper) and utils, that wraps @sodax/sdk with React Query into feature-organized hooks.
Used alongside @sodax/wallet-sdk-react for wallet connection (no direct dependency — shared types come from @sodax/sdk).