Skip to main content

SDK Reference Overview

The Atomiq SDK provides a complete TypeScript/JavaScript interface for trustless cross-chain swaps between Bitcoin and smart chains (Solana, Starknet, EVM).

What You'll Find Here

Core SDK

The main SDK package containing:

Chain Integrations

Chain-specific implementations you need based on your target blockchains:

Each chain module includes:

  • Chain-specific swap implementations
  • Wallet integrations
  • RPC configuration
  • Network-specific types and utilities

Storage Adapters

The SDK uses browser-based IndexedDB by default. To use the SDK in different environments, e.g. Node.js or React Native you need to use the respective storage adapter:

In case you need to integrate your own storage adapter for your environment check the IUnifiedStorage interface.

info

If you already have a key-value storage backend you can use the Memory Indexed KV to easily turn it into the swap storage backend. This keeps the necessary indexes in-memory so is only suitable for single-user swap storage (not for backend handling a great number of swaps).


Ready to integrate? Visit the SDK Guide for detailed tutorials and examples.

Want to learn more about the Atomiq protocol? Check out the protocol overview.