Orders.Exchange - Full Protocol DEX Run on BTC
  • Overview
    • What is Orders.Exchange
    • Why create Orders.Exchange?
  • Orderbook DEX
    • Overview
    • Technology & Theory
      • PSBT
      • 0-Sec Multi Transactions
      • Ask Orders
        • Technical flowchart for placing ASK orders
      • Bid Orders
        • Technical flowchart for placing BID orders
      • Nostr Proposal
        • NIP-100
    • Audit Report
    • Service Fee
    • Trade to Burn
  • Orders Swap & Liquidity Pools
    • Orders Swap
      • Overview
      • Technology & Theory
        • Decentralized Architecture
      • Service Fee
      • Swap to Burn
    • Orders Liquidity Pools
      • Overview
      • Technology & Theory
        • Threshold Multisignature
        • Cold-Hot Wallet Isolation
      • Stake to Earn
      • Service Fee Sharing
    • Audit Report
  • Orders Bridge
    • Overview
    • Technology & Theory
    • Audit Report
    • Service Fee
  • Minting is Liquidating
    • Minting is Liquidating
    • Principle Workflow
    • Stake to Earn
    • Service Fee
  • Tokenomics
    • $RDEX
  • Roadmap
    • Orders Roadmap
  • FAQ
    • How to Earn $RDEX?
    • Why does $RDEX have almost half of its tokens in one address, and does this pose a risk?
    • What is the buyback timing and frequency for $RDEX?
    • How does P-LP differ from regular LPs? Do I need to lock my assets?
    • Why are there different reward multipliers in P-LP? How should I choose which multiplier to go for?
    • Is the liquidity I provide to P-LP safe? How can its safety be assured?
    • Why does P-LP differentiate between uni-directional and bi-directional liquidity? What's the differe
    • How are funds transferred between the buyer's and seller's wallets, and do my tokens leave my wallet
    • From a technical perspective, what happens when canceling an already placed buy/sell order?
    • Is the liquidity pool for Orders fully decentralized, and how is it achieved?
    • The world's first Bitcoin-native network supported BID system: How it came into existence
    • How many $RDEX tokens are released daily, and how is it done?
    • After adding LP, how can I make it trade? I can't see this LP on my own trading page.
    • Can I know which P-LP I provided?
    • Why not open RDEX P-LP?
    • The transaction fees are currently high; is there a way to reduce them?
    • What's the difference between orders and other DEXs?
  • Risks & Disclaimer
    • Risks & Disclaimer
  • Team
    • Team Introduction
  • Resources
    • Orders Exchange
    • Twitter
    • Discord
    • Github
Powered by GitBook
On this page
  1. FAQ

How are funds transferred between the buyer's and seller's wallets, and do my tokens leave my wallet

When a user places a sell order, they essentially create a PSBT (Partially Signed Bitcoin Transaction).

Technically speaking, the PSBT created by the user is a half-done transaction that requires the initiator's conditions to be met and is currently in a pending state. A PSBT can only be confirmed on the blockchain when, and only when, it has been fulfilled, meaning the initiator's requirements have been satisfied by another party. This feature allows PSBTs to circulate off-chain securely before confirmation.

It's like the user has written a signed check for BRC20 Tokens, indicating how many BRC20 Tokens they're willing to pay to receive a certain amount of Bitcoin. However, since the transaction is not complete, the check has not been submitted to the bank, so the user can cancel it at any time.

Before the transaction is finalized, tokens are not transferred from the wallet. Technically, a PSBT can be regarded as an expectation of a transaction from its creation until it is fulfilled and confirmed on the blockchain, and this expectation exists off-chain. During this period, the assets have not left the user's wallet. Only after the expectation is met by the buyer and confirmed by the blockchain does the transaction get considered complete, and the asset exchange occurs at that moment.

Since orders employ atomic swaps, the exchange of tokens and BTC either happens simultaneously or doesn't happen at all. This means the check can circulate before being submitted to the bank, and the signature mechanism and PSBT's characteristics ensure it cannot be tampered with.

PreviousWhy does P-LP differentiate between uni-directional and bi-directional liquidity? What's the differeNextFrom a technical perspective, what happens when canceling an already placed buy/sell order?

Last updated 1 year ago