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

  1. Create Order: Sellers lock wrapped BTC in the smart contract and specify the native BTC amount they want to receive.
  2. Buy Order: Buyers send native BTC to the seller's address with an OP_RETURN containing their receiving address.
  3. 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:

Check out the Quick Start guide to begin trading.