xBTC Documentation
Welcome to the xBTC documentation. xBTC is a decentralized exchange platform that enables trustless trading between wrapped BTC and native Bitcoin.
Overview
xBTC allows users to create and fulfill orders for exchanging wrapped BTC with native Bitcoin. The platform uses smart contracts on Ethereum, Solana and other blockchains, combined with Bitcoin transaction verification to ensure secure, trustless trades.
Key Features
- Trustless wrapped BTC-to-native BTC exchanges
- On-chain verification of Bitcoin transactions
- Partial order fulfillment support
- Decentralized order book
How It Works
- Create Order: Sellers lock wrapped BTC in the smart contract and specify the native BTC amount they want to receive.
- Buy Order: Buyers send native BTC to the seller's address with an OP_RETURN containing their receiving address.
- Complete Order: Once the BTC transaction is confirmed and validated, the wrapped BTC is released to the buyer.
Getting Started
To start using xBTC, you will need:
- A wallet compatible with your blockchain (MetaMask for EVM chains, Phantom for Solana, etc.)
- A Unisat wallet for Bitcoin transactions
- Some wrapped BTC to sell or native BTC to buy
Check out the Quick Start guide to begin trading.