Bitcoin Swaps
for Fintechs.
21 lines of code.
Satora is the developer SDK for non-custodial atomic swaps between Bitcoin and stablecoins. Ship in minutes.
Bitcoin Swaps for Fintechs
Developer-first SDK
Full TypeScript type safety. In-memory or IndexedDB storage adapters. Works in Node.js, browsers, and React Native.
Multi-chain support
USDC and USDT on every major EVM chain. One integration, all networks.
Why Satora
Instant
Lightning swaps settle in seconds
Trustless
Atomic swaps, no intermediaries
Gasless
Users never need gas tokens
Built-in recovery
Refunds are built into the protocol. Funds are always recoverable.
Start building with satora
Read the docs, install the SDK, or create an optional API key for attribution and fee markup.
1// Import Satora SDK and packages
2import { Client, Asset, InMemoryWalletStorage, InMemorySwapStorage }
3 from "@satora/swap";
4
5// Initialize client
6const client = await Client.builder()
7 .withSignerStorage(new InMemoryWalletStorage())
8 .withSwapStorage(new InMemorySwapStorage())
9 .withApiKey(process.env.API_KEY)
10 .build();
11
12// Swap 100k sats → USDC on Polygon
13const { response } = await client.createSwap({
14 source: Asset.BTC_LIGHTNING,
15 target: Asset.USDC_POLYGON,
16 targetAddress: "0xYour...Address",
17 sourceAmount: 100_000,
18});
19
20// Pay the Lightning invoice to execute the swap
21console.log("Invoice:", response.bolt11_invoice);




