Skip to main content

Developer Guides

A collection of practical guides and examples for building foundational applications on Spark.

What You’ll Find Here

These guides cover the essential building blocks and integrations you need to create Bitcoin-native applications on Spark. Each guide provides step-by-step instructions, code examples, and best practices.

Available Guides

Core Integrations

Embedded Wallets Integrate Spark wallets directly into your applications for seamless Bitcoin-native user experiences. Lightning Payments Add Lightning Network support to enable instant, low-cost Bitcoin payments. Bitcoin Layer 1 Interact with Bitcoin’s base layer for maximum security and final settlement. Token Lists Work with Bitcoin tokens and manage token metadata in your applications.

Financial Services

Fiat Onramps Integrate fiat-to-Bitcoin conversion services for easy user onboarding. Fiat Offramps Enable users to convert Bitcoin back to traditional currency. Onchain Swaps Implement atomic swaps and cross-chain trading on Bitcoin. Issue Stablecoin Create and manage your own stablecoin using Spark’s token system.

Cross-Chain Bridges

Ethereum Bridge Bridge assets between Bitcoin L1 and Ethereum ecosystem. Solana Bridge Connect Bitcoin with Solana’s ecosystem for cross-chain functionality.

AI & Automation

Build with AI Integrate AI capabilities into Spark applications for intelligent Bitcoin experiences. Prompt Library Curated AI prompts for Spark development and application building.

Authentication & User Experience

Social Authentication Implement user onboarding and authentication with Privy integration.

Developer Resources

Example Repos Explore real-world implementations and open-source projects built on Spark.

Getting Started

  1. Choose a guide that matches what you want to build
  2. Follow the prerequisites to set up your development environment
  3. Work through the examples step by step
  4. Adapt the code for your specific use case

Prerequisites

Most guides assume you have:
  • Basic familiarity with JavaScript/TypeScript
  • Node.js installed
  • Understanding of Bitcoin concepts
  • Spark SDK installed

Need Help?