Frequently Asked Questions
Who pays the gas fees?
Who pays the gas fees?
The Relayer estimates gas costs upfront and deducts them from the transaction. Users don’t need ETH on BOB to use Gateway.
What happens if my DeFi action fails?
What happens if my DeFi action fails?
Gateway automatically falls back to sending the wrapped BTC directly to the user’s EVM address. Always test thoroughly to avoid fallbacks.
Do I need Bitcoin wallet support?
Do I need Bitcoin wallet support?
Yes, your frontend needs Bitcoin wallet integration. See the wallet guide for implementation details.
Can I chain multiple protocols?
Can I chain multiple protocols?
Yes! Custom strategies can interact with multiple protocols in sequence. For example: stake WBTC → get staked BTC → deposit in lending → send receipt tokens to user.
Security considerations?
Security considerations?
- Use SafeERC20 for token transfers
- Consider reentrancy protection
- Ensure proper access controls
- Test thoroughly on testnet
How does affiliate fee monetization work?
How does affiliate fee monetization work?
You can earn fees on every transaction which is linked to your affiliate ID. The fee is deducted from the user’s input amount and sent directly to you.
How long do transactions take?
How long do transactions take?
Transaction time varies based on:
- Bitcoin network confirmation time (typically 10-60 minutes)
- Destination chain (cross-chain transactions take longer)
- Current network congestion
estimatedTimeInSecs field with the expected duration.What happens if Bitcoin fees spike after I submit?
What happens if Bitcoin fees spike after I submit?
For offramp transactions, you can bump the transaction fee to speed up confirmation if Bitcoin network fees increase.
Can I cancel a transaction?
Can I cancel a transaction?
For offramp transactions, you can unlock an order if it gets stuck. This is irreversible - once unlocked, the order cannot be resumed.
What chains are supported?
What chains are supported?
Gateway supports:
- Bitcoin → BOB (mainnet)
- Bitcoin → Ethereum, Base, Arbitrum, Optimism (via LayerZero)
- BOB → Bitcoin (offramp)
getRoutes() for the complete list of available routes.Is Gateway audited?
Is Gateway audited?
Yes, BOB Gateway has been audited by Pashov and Common Prefix. The protocol uses atomic cross-chain swaps verified by an on-chain Bitcoin Light Client, making it trustless between users and market makers.View audit reports: docs.gobob.xyz/docs/reference/audits
What are the fees?
What are the fees?
Fees include:
- Protocol fees: Fees applied by the protocol for processing and routing the swaps. Currently fees are set to merely cover routing and gas costs, with 0 markup. In the future, the BOB DAO may vote to activate a fee markup. Then, collected revenues will go to the BOB DAO treasury.
- Solver spread: Solvers compete to offer the best quotes, typically charging a spread of a few basis points (1-20bps on average depending on the route and Solver). BOB Gateway automatically picks the best quote for each swap.
- Broker fees: Most wallets and web apps apply a “convenience” fee for processing swaps. These are deducted from the swapped amount, on-chain by the protocol smart contracts.
- Gas costs: The gas costs of the destination chain are included in the swap processing fees. The gas costs of the source chain (the chain where the swap was initiated) are handled out-of-protocol by the wallet.
Where can I get help?
Where can I get help?
- Discord: Join our community at discord.gg/gobob
- GitHub: Report issues at github.com/bob-collective/bob
- Documentation: Browse guides at docs.gobob.xyz
Still Have Questions?
Discord Community
Get help from the BOB team and community
GitHub Issues
Report bugs or request features
Integration Guide
Step-by-step integration instructions
API Reference
Complete API documentation