Skip to main content

AnySwap SDKs

Swaps between Lightning and on-chain Bitcoin or Liquid. Each SDK carries a driver that runs any number of swaps to completion and verifies everything against the chain, so an integration creates swaps and watches statuses rather than implementing the protocol.

Rust

cargo add anyswap-sdk --features esplora

TypeScript

npm install @blockstream/anyswap-sdk