How to swap on Metal X with your WebAuth wallet

How to swap on Metal X with your WebAuth wallet

A swap trades one token for another in a few seconds. On XPR Network you do it on Metal X, the decentralized exchange of the network. Metal X Swap trades through liquidity pools, and your tokens stay in your own wallet until you approve a trade.

artwebin
|
|
3 min read
|
Beginner

This guide uses Metal X on a computer and the WebAuth Wallet app on a phone, the same way as the video. The video swaps 100 XPR for XMD. Screens and button names change from time to time, so what you see can differ a little from this guide.

What you need

  • A WebAuth account with some XPR in it. Episode 1.2 covers creating an account, and episode 1.6 covers deposits.
  • A verified account. Metal X's own swap guides list verification as a step before you swap. Episode 1.5 shows how.
  • A computer with a browser, and your phone with WebAuth.

1. Open Metal X Swap

  1. On your computer, type app.metalx.com into the address bar yourself, or open it from a bookmark.
  2. Click Swap in the top menu.
  3. Click Connect Wallet, then Mobile App. A QR code appears.

2. Connect WebAuth

  1. In WebAuth, tap the scan button in the bottom bar and scan the QR code on the screen.

  2. WebAuth shows who is asking: Swap, at @proton.swaps. The request asks for two things:

    • your public account information: name, address, avatar and other public details
    • permission to send you transaction requests and to view your public transaction history
  3. Tap Authorize. Your name now shows at the top right of the Metal X page.

Connecting does not move any tokens. Every transaction still needs your own approval in WebAuth.

3. Choose your tokens and the amount

  1. At the top, pick the token you pay with. At the bottom, pick the token you want to get. The arrow button between them flips the two.
  2. In the video we pay with XPR and get XMD, the Metal Dollar. XMD is a stablecoin backed by a basket of dollar stablecoins, with 1:1 minting and redeeming against USDC, PYUSD and XPAX.
  3. Enter the amount. Metal X shows what you will receive. In the video, 100 XPR showed about 0.1786 XMD.

4. Check the details before you swap

Under the Swap button, Metal X lists the details of your swap.

Fees. XPR Network charges no gas fee. Metal X Swap charges a trading fee of 0.3% per trade: 0.2% goes to the liquidity providers of the pool, and 0.1% is burned as XPR or added to XPR Grants. Accounts with 100,000 or more staked XPR get a discount on this fee.

5. Swap and approve on your phone

  • Click Swap. Metal X sends a signing request to your wallet, and a two-minute timer starts on the page.
  • Open WebAuth. The request reads Confirm Transaction, Send to @proton.swaps, 100 XPR. proton.swaps is the Swap contract. Check that the token and the amount match what you entered.
  • If they match, tap Authorize and confirm on your phone.
  • If no request shows up in WebAuth, click Sign manually using QR code under the timer and scan that code with WebAuth.

6. See the result

  • Metal X shows Successfully swapped!, and the balances in the Swap panel update.
  • In WebAuth, pull down on the home screen to refresh. The new token appears in your list. Tap it to see the swap in its transactions.
  • In the video, the quote was 0.178561 XMD and we received 0.178204 XMD, which is a little less than the quote and still above the minimum of 0.176775 XMD. The price on the page is a snapshot, so the final amount can differ a little.
⚠️WARNING

Only connect on the real site. Type app.metalx.com yourself or use a bookmark. Look-alike sites with one changed letter try to get you to approve something else.

⚠️WARNING

Read every request before you tap Authorize. A swap request sends the amount you entered to proton.swaps. If a request asks for something you didn't start, close it.

⚠️WARNING

Swaps are final. Transactions on the blockchain can't be reversed, so check the tokens and the amount before you approve.