Smart Contract
xBTC platform deployed contracts:
| Contract | Address | Description |
|---|---|---|
| SelfValidator | 0x0000000000000000000000000000000000000000 |
Bitcoin block header verification contract. Handles block hash submissions, challenge mechanism, and reward distribution. |
| xBTC | 0x0000000000000000000000000000000000000000 |
Wrapped BTC-Native BTC exchange contract. Manages order creation, native BTC payment verification, and wrapped BTC transfers. |
Contract Interaction
You can interact with these contracts through:
- The xBTC Web Interface - User-friendly interface for creating and managing orders
- Etherscan - Direct contract interaction for advanced users
- Web3 Libraries - Integrate xBTC into your own applications
Security
All contracts have been designed with security as a top priority:
- Trustless Verification: Bitcoin transactions are verified on-chain through cryptographic proofs
- Challenge Mechanism: Anyone can challenge invalid block submissions to protect the system
- Non-Custodial: Users maintain control of their assets at all times
- Open Source: All contract code is publicly available for review
Resources
- BTC On-Chain Verification - Learn how Bitcoin verification works
- Market Design - Understand the order book mechanism
- FAQ - Frequently asked questions