Overview
To use BOB Gateway, your application needs to integrate Bitcoin wallet support so users can sign Bitcoin transactions. This guide covers the most popular integration methods.Recommended: Reown AppKit
Reown AppKit (formerly WalletConnect AppKit) provides a unified interface with broad wallet support including Unisat, Leather, Xverse, OKX, and more. BOB has partnered with Reown to improve Bitcoin wallet support tooling for WalletConnect / Reown.Installation
Setup
Usage with Gateway SDK
Alternative: sats-wagmi
sats-wagmi provides React hooks for Bitcoin wallets with support for Unisat, Leather, Xverse, and more.Installation
Setup
Usage
OKX Wallet
Direct integration with OKX Wallet for users who prefer this wallet.Installation
Usage
Custom Bitcoin Signer
Implement theBitcoinSigner interface for any Bitcoin wallet:
Dynamic.xyz Integration
Dynamic provides embedded wallet support including Bitcoin.Best Practices
1
Wallet Detection
Detect which wallets are installed and show appropriate connection options
2
Network Validation
Verify user is on Bitcoin mainnet (or testnet for testing)
3
Address Validation
Validate Bitcoin addresses before submitting quotes
4
Error Handling
Handle wallet rejection, insufficient funds, and network errors gracefully
5
User Feedback
Show clear transaction status and confirmation states
Wallet Comparison
Testing
Test your Bitcoin wallet integration on BOB Sepolia testnet:Next Steps
Integration Guide
Complete the full Gateway integration
DeFi Strategies
Build custom DeFi actions