Swap on PulseX

PulseX is the exchange on PulseChain. The app can open a small swap window for it. The window turns a token you hold into the coin of the chain. The app offers it as a way out of a token warning.

When the window is reachable

You cannot open the swap window from the top bar or from a menu. The usual way in is the amber swap button on the bridge form. That button shows when all of these hold:

  • You send from PulseChain or from its test network.
  • A token warning applies to the token you send.
  • The switch "Bridge DAI anyway, despite this warning" is off.

The button reads "Swap DAI for PLS", with your token in place of DAI. On the test network the second token is tPLS. It takes the place of the bridge button.

The window also opens from an address that holds modal=pulsexSwap. The window shows only while a warning applies to the route. An old link to a route without a warning opens nothing.

What you see

The window covers the page with a dark backdrop. Its heading names the swap, for example DAI for PLS. A cross button, named "Close the swap", sits at the right end of the heading.

Two fields follow:

  • "You swap". This field holds the token that you send to the swap, and the amount. You type the amount here. The token is fixed.
  • "You receive (estimated)". This field shows the coin of the chain. The coin is PLS, or tPLS on the test network. You cannot change it, and you cannot type in this field.

Under the fields, one large button leads you through the swap.

What to do

  1. Type the amount in "You swap".
  2. Wait for the estimate in "You receive (estimated)". The quote renews with each new block.
  3. Press the large button. Follow what your wallet asks.
  4. Press the large button again if it changes. The first press may only approve the token.

The large button changes with your situation:

  • With no wallet connected, it asks you to connect.
  • With your wallet on another network, it asks the wallet to switch to the chain of the swap.
  • When the exchange needs your approval to spend the token, it reads as an approval for PulseX. This step does not apply to the coin of a chain.
  • Otherwise it reads as the swap, with the two token symbols.

The button stays off until a quote exists for the amount you typed. When the swap goes through, the window closes.

What each choice means

Typing a new amount drops the old quote. The button stays off until the new quote arrives. The app never sends a swap with a quote for a different amount.

The output is an estimate.

To leave without a swap, press "Close the swap", press Escape, or press the dark backdrop outside the window. Nothing is sent when you leave.

After the swap

Your wallet now holds the coin of the chain. Return to the bridge form to continue.

If something goes wrong

  • If the window shows "The swap widget did not load.", reload the page and open the window again.
  • If the button stays off, check the amount. The button needs a quote for the exact amount.
  • If your wallet refuses a step, nothing moves. Press the large button again to retry.