The fastest, cheapest, most UX-friendly way to build financial apps and launch assets natively on Bitcoin
MAINNET BETA
Making Bitcoin Money Again

Launch Assets on Bitcoin Instantly

Launch your asset on Bitcoin: the most neutral and widely adopted network. Spark lets developers create, distribute, and monetize assets in minutes.

Build your
Dream Wallet

Build self-custody wallets with native Bitcoin and stablecoin support. Fast, cheap payments for everyone.

Manifesto

Because Bitcoin needs to scale without losing its soul.

123456789101112131415161718192021222324252627
282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
import { SparkWallet } from "@buildonspark/spark-sdk";

const { wallet, mnemonic } = await SparkWallet.initialize({
  options: {
    network: "MAINNET",
  },
});
console.log("Wallet mnemonic:", mnemonic);

// Generate a L1 deposit address
const depositAddress = await wallet.getSingleUseDepositAddress();

// Claim L1 deposit
const result = await getLatestDepositTxId(depositAddress);

if (result) {
  console.log("Transaction ID: ", result);
  const tx = await wallet1.claimDeposit(result);
  console.log("Deposit TX: ", tx);
}

// Check Wallet balance
const balance = await wallet.getBalance();

Launch Assets on Bitcoin Instantly

Launch your asset on Bitcoin: the most neutral and widely adopted network. Spark lets developers create, distribute, and monetize assets in minutes.

Build your
Dream Wallet

Build self-custody wallets with native Bitcoin and stablecoin support. Fast, cheap payments for everyone.

Manifesto

Because Bitcoin needs to scale without losing its soul.