xprhub

Swaps

Swap XPR Network tokens person to person: for coins on other chains like BTC, with the seller's tokens held in the contract until the seller confirms the payment, or for another XPR Network token, settled at once.

Contract: xprswaps1. How it works

Open listings

  • Loading...

Swap

Lock tokens here and say what you get for them: coins on another chain, or another XPR Network token.

You get
The amount and the coin, like 0.0012 BTC. Letters, digits, spaces and . , : - only.
Your address on the other chain. Check it twice: the buyer pays exactly here.

One wallet approval does both steps: it lists the swap and sends the tokens to the contract. You can cancel any time before it sells and get everything back, the held fee too.

My trades

Connect your wallet with the button at the top right to see the swaps you are selling and buying.

History

Every swap an account took part in, newest first: what was listed, each step with its time, the fees and burns, and a link to every transaction.

    Read from the XPR Network history servers. Times are in your own time zone. A trade is shown once the account took part in it.

    How it works

    1. The seller lists. It locks tokens in the contract, says what it gets for them on the other chain, and where to be paid. 1% of the locked tokens is held as the seller's fee; the rest is for sale.
    2. A buyer accepts. It then has 2 hours to pay the seller on that chain.
    3. The buyer presses I paid with the transaction id from the other chain.
    4. The seller confirms once the coins are in its wallet. The buyer then claims the tokens for sale, less its own 1% fee.

    Swaps between two XPR Network tokens need none of this: the buyer presses Buy now and pays the amount the seller asked for, and the contract swaps both sides in the same moment. Each side pays 1% of what it receives, in that token. If the seller allows partial fills, a buyer may pay less: any amount from the smallest fill up to what is left, and it buys its share of the tokens left. The contract pays the account that sends the payment, so buy only from your own wallet, not from an exchange or a custodial account.

    What you are trusting

    • The contract cannot see the other chain, so for a swap paid there it never knows whether a payment was made.
    • The seller's confirm pays the buyer. Sellers: only confirm once the coins are really in your wallet.
    • If the two sides do not agree, either one can open a dispute, and the arbiter decides who gets the tokens. The arbiter can give a disputed trade to either side. No arbiter is set on the contract yet, so for now the owner decides disputes.
    • Changes to the fee, the times or the arbiter wait 48 hours before they count, so nothing changes in the middle of your trade.

    Fee and times

    Fee
    1% from the seller and 1% from the buyer, taken only when the trade is completed. A cancelled or given up trade pays no fee: the seller gets everything back, the held fee too.
    Time to pay
    2 hours after the buyer accepts
    Extra time to press I paid
    10 minutes
    Seller's time to confirm
    24 hours, then the buyer can open a dispute
    Open listings per seller
    10

    Times are in your own time zone.