- The Etherfuse REST API (
/ramp,/lookup, …) — call it over HTTP from any language. See Calling the REST API below. - The on-chain Stablebond layer (Solana) — when a flow requires reading bond data or building/handling on-chain transactions, use the Stablebond SDKs.
Stablebond SDKs
These are open-source clients for the Etherfuse Stablebond program on Solana. They help you query available bonds, read bond data, and work with on-chain transactions. The interactive tutorials in these docs use the TypeScript SDK.The Stablebond SDKs are Solana/on-chain clients — they are not wrappers around the Etherfuse REST API. Use them alongside the REST API for the on-chain portion of a flow, not in place of it.
TypeScript
@etherfuse/stablebond-sdk — for JavaScript/TypeScript apps (web and mobile). Retrieve available bonds, read bond data, and perform on-chain transactions.Rust
stablebond-sdk — for Rust projects needing direct, typed access to the Stablebond program (querying bonds, building transactions).