Skip to Content

Solana Deposit

The BTC Deposit action converts native Bitcoin to BTC.b (wrapped Bitcoin) on Solana. Users send BTC to a generated deposit address, and BTC.b gets minted to their Solana wallet after confirmation.


Key Differences from EVM Deposits

  1. No EIP-712 authorization — Solana deposits skip the fee authorization signature step, using wallet signing for address confirmation during generateDepositAddress() instead
  2. Address format — Recipients must provide valid Solana public keys in base58 encoding (32 bytes), not hexadecimal addresses

Basic Usage

import { createLombardSDK, Chain, AssetId } from '@lombard.finance/sdk'; const config = createConfig({ env: Env.testnet, providers: { solana: () => window.solana, }, }); const sdk = createLombardSDK(config); const deposit = sdk.chain.btc.deposit({ destChain: Chain.SOLANA_DEVNET, assetOut: AssetId.BTCb, }); await deposit.prepare({ amount: '0.01', recipient: 'SolanaPublicKey...', // base58 Solana address }); const depositAddress = await deposit.generateDepositAddress();

Current Availability

Currently available on testnet: BITCOIN_SIGNET to SOLANA_DEVNET (stage and dev environments only), producing BTC.b tokens.

Last updated on