Skip to content
Stableflow

Developers

Cross-chain routing as a primitive.

Quote across every rail, submit a transfer, track it to settlement. Typed packages, one interface, seven wallet ecosystems.

Quickstart

Quote, then send

quote.ts
import { BridgeSFA } from '@stableflow/bridges';

const sfa = new BridgeSFA({ apiKey: process.env.STABLEFLOW_KEY });

// Every rail is priced at once — including mixed routes.
const { quotes, best } = await sfa.getAllQuote({
  from: { chain: 'arb', token: 'USDC' },
  to:   { chain: 'sol', token: 'USDT' },
  amount: '25000',
  recipient: 'RecipientAddressHere',
  dry: true,
});

console.log(best.rail, best.amountOut);

Compare rails, not bridges

getAllQuote returns every executable path for a pair — intent, CCTP, USDT0, FraxZero, native — plus the mixed routes between them.

Simulate before you spend

The dry flag returns a quote without touching the chain, so you can preview cost and allowance requirements.

Then re-quote and execute

Submit the deposit, poll execution status, and reconcile with the same identifiers the dashboard uses.

SDK

Packages

Install only what you call. Every package is typed and framework-agnostic.

PackageRole
@stableflow/coreQuoting and execution
@stableflow/bridgesMulti-rail routing
@stableflow/hyperliquidHyperliquid
@stableflow/wallet-*Wallet adapters
@stableflow/utils-*Shared helpers

Quote parameters

Control over cost, shape and compliance

The same parameters work on single-rail and mixed-rail quotes.

appFeesrecipient + fee

Attach an application fee to any route. Fees are expressed in basis points, so 100 means 1.00%. Half goes to the settlement provider, half to your recipient address.

swapTypeEXACT_INPUT · EXACT_OUTPUT · FLEX_INPUT

Fix the amount you send, fix the amount that arrives, or allow a flexible deposit.

isProxytrue · false

Uses stable proxy deposit addresses so institutions, custodians and exchange allowlists keep working. Costs more gas on some chains.

drytrue · false

Simulates a quote without touching the chain, so you can preview cost and allowance requirements before committing.

Ship cross-chain in an afternoon

Read the reference, grab a key from the dashboard, and start quoting.