Skip to main content
Welcome to the Satora Swaps developer portal. This guide will help you verify your integration environment and complete your first swap.

Get the TS-SDK

Your First Swap

Follow these steps to complete a test swap from Bitcoin (Lightning) to USDC (Polygon). First create a new client
You can find all available tokens to swap like this. For this example, we look for the token details for USDC on Polygon.
Afterward we can create the swap request:
Pay the Lightning invoice returned in the response with any Lightning wallet (e.g., Phoenix, Wallet of Satoshi). The SDK generates the secret and shares the hash - the service creates a Boltz reverse swap it can only settle after you reveal the secret.
Wait for the status to become ServerFunded, then claim your tokens. You can either poll or use real-time WebSocket updates:
Gasless on all chains: Claiming is gasless on Polygon, Ethereum, and Arbitrum via EIP-712 signatures. A small gas fee is deducted from the swap amount depending on network conditions. Alternatively, you can claim manually with your own signer and pay gas yourself.
The swap will complete and you will receive your tokens.

Build with AI

We have generated a llms-full.txt file that converts all our documentation into a single markdown document following the llmstxt.org standard. Feed it to any AI coding agent (Claude, Cursor, Copilot, etc.) and it will have everything it needs to integrate the Satora Swaps SDK into your project.