Tools and SDK
Everything you call Stable with lives here. Building a product on Stable? Start with the Stable SDK and drop down to a service API when you need a rail the SDK doesn't wrap. Sponsoring gas or relaying transactions from a backend? Start with the Enterprise SDK. Wiring Stable into an AI editor or agent? Go to Develop with AI.
Build with SDKs
- Stable SDK:
@stablechain/sdk, the typed TypeScript client for transfer, bridge, swap, and vault yield. It wraps viem and handles routing, approvals, decimals, and chain switching. - SDK quickstart: Install the package, send your first USDT0 transfer on testnet, and preview a mainnet bridge quote.
- SDK reference:
createStable,createStableReader, the transfer, bridge, swap, and earn methods, enums, and error classes. - Enterprise SDK:
@stablechain/enterprise, the server-side client for gas-waived transactions and reserved Enterprise-lane blockspace. - Enterprise SDK reference:
createStableEnterprise, both rails, build helpers, and error classes.
Use the SDK with your stack
- viem: Sign three ways: a private-key Account, a browser Transport, or a pre-built viem WalletClient.
- wagmi: Wire the SDK into a React app with
useWalletClient,useAccount, anduseChainId. - Earn yield: Deposit USDT0 into a Morpho vault, read APY and position, withdraw, and claim Merkl rewards.
Service APIs
- Gas waiver protocol: Transaction formats, marker routing, governance controls, and the Waiver Server API you post signed
InnerTxpayloads to. - EIP-7702: Delegation transaction format and RPC behavior for pointing an EOA's account code at a smart contract.
AI and agent tooling
- Develop with AI: Add the Docs MCP and Runtime MCP servers to any MCP-compatible client, plus plain-text docs for tools without MCP.
- Pay with MCP server: Expose x402-paid APIs as MCP tools so AI clients call and pay for them through prompts.
Where to go next
- Quick start: Connect to testnet, fund a wallet, and send your first USDT0 transaction.
- JSON-RPC API: Supported methods across the
eth,net,web3, anddebugnamespaces. - Build: Accounts, payments, contracts, and agents, organized by what you're shipping.

