BitReXe Documentation
  • The begining
  • What is BitReXe
    • Bitcoin Layer 2
      • Why Bitcoin Layer 2
      • BitRexe compares with other Bitcoin Layers
    • ๐Ÿ”Peg-in & Out Bitcoin
    • ๐Ÿ‘ฏโ€โ™‚๏ธUnified Parallelization
    • โ›๏ธMining - Hashrate Reusing
    • ๐Ÿ’ตFirst-class Asset
  • Dioxide Updates
  • PREDA programming model
    • Concepts
    • Why PREDA
  • Tokenomics
    • ๐Ÿ’ฑrxBTC
    • ๐Ÿ’ฒ$BRX
  • โ›๏ธBits Rush
    • ๐ŸŽชTribe - Referral Program
  • Roadmap: Crypto Endgame
  • Legal Disclaimer
  • Privacy Policy
Powered by GitBook
On this page
  • Peg-in (Bitcoin to BitRexe)
  • Peg-out (BitRexe to Bitcoin)
  1. What is BitReXe

Peg-in & Out Bitcoin

PreviousBitRexe compares with other Bitcoin LayersNextUnified Parallelization

Last updated 1 year ago

To eliminate the trust assumption while sustaining decentralization, BitRexe adopted the method. In short, the initial idea of the spacechain is to make its connection to Bitcoin a one-way peg. You are allowed to burn bitcoin and receive the same amount of xBTC on the layer 2 network, but you cannot peg out.

If there's no peg-out wallet on the Bitcoin Layer 1 to manage, no need to assumption-ally trust parties who own your custodian Bitcoin like Liquid, or re-build a POS network like Stacks did that increases consensus abundance.

However, the impossibility of Spacechain redeeming your Bitcoin is intimidating to the average user.

BitRexe takes one step forward while allowing two-pegged without changing the security and sustaining the zero-trust assumption of the spacechain solution.

There's no such function as burning your xBTC and receiving BTC on Layer 1.

Instead,

when you peg-in Bitcoin successfully, it means another party(parties) pegged-out the same amount of rxBTC. Vice versa. We call it SWAPCHAIN.

If you are familiar with buying crypto via Fiat with C2C trading on central exchanges like Binance and Coinbase, the method should instantly make sense to you. Your peg-in & peg-out requests are essentially orders, they can be fulfilled by any party with the opposite demands.

Peg-in (Bitcoin to BitRexe)

Moving funds from Bitcoin to BitRexe is called a peg-in;

A peg-in transaction requires 6 confirmations on the Bitcoin network before the funds can be claimed on the BitRexe Network. This high level of security is required to protect all participantsโ€™ funds in the event of a large block reorganization of the Bitcoin blockchain.

Peg-out (BitRexe to Bitcoin)

Reclaim your Bitcoin from BitRexe to Bitcoin is called a peg-out;

Once a peg-out request is submitted

  1. rxBTC will be burnt

  2. Once the watcher address has witnessed the burning on-chain activity through RPC

  3. Such request will then be transferred to the datasync service.

  4. Datasyncwill then send a withdraw info to the App backend

A BitRexe user sends Bitcoin to the address belonging to the parties pegging out. Once the orders are matched for both sides, an address will be generated to receive one's peg-in Bitcoin. Once the transaction is finalized, a 1:1 equivalent rxBTC will be minted and transferred to the user's

๐Ÿ”
DIO wallet address.
space chain
SWAPCHAIN Mechnism Explain
Peg-in rxBTC user interface