Developers Forum for XinFin XDC Network

Cover image for How to swap XDC with XRC20 tokens on XSwap DEX.

Posted on

How to swap XDC with XRC20 tokens on XSwap DEX.

XSwap is a decentralized exchange built on the XDC Network for XRC20 tokens. It allows all customers to Swap & Earn inside secured pools.

Let's check out how to swap XRC20 tokens with XDC and with other XRC20 tokens (WXDC, XSP, SRX, CGO, BLKZ, BTCx, WTK, PLI, PRNT, GBEX, DC, EURS, USNOTA, etc.):

Step 1: Access the XSwap DEX.

Image description

Step 2: Connect your XDCPay wallet to XSwap DEX.

Image description

Step 3: Select or Search for the XRC20 token you want to swap with XDC.

Image description

Once you select the Token, Click on the Swap button.

Image description

Step 4: Confirm all the details about the Swap, like the Expected output… and click on the Confirm Swap button.

Image description

Step 5: After clicking on the Confirm Swap, the user needs to Sign the transaction through XDCPay.

XDCpay screen will pop up to sign the transaction, check all the details, and click on Submit button of the XDCPay screen.

Image description

This is how the Swap will get executed, and the user can check the transaction hash on an explorer.

Note: The user needs to add the Swapped token to the XDCPay wallet to view the token balance.
Image description

Try to swap your XDC with the XRC20 tokens and share your feedback in the comment below.

Discussion (3)

steve_johnson_e192adcb302 profile image
steve Johnson

Decentralized exchange software, often referred to as a Decentralized Exchange (DEX), is a blockchain-based platform that facilitates peer-to-peer cryptocurrency trading without the need for intermediaries or central authorities. Unlike centralized exchanges, which are controlled by a single entity, DEXs operate on decentralized networks, making them more secure, transparent, and censorship-resistant.

Hivelance is a leading provider of decentralized exchange software script and white label DEX software. They offer a pre-built decentralized exchange solution that is intended to do the operations of decentralized exchange when deployed. The script should be composed of essential elements like hardware wallet access, multi-crypto support, atomic swap engine, liquidity pool, and audited smart contract code1. Hivelance also offers a white label decentralized exchange software that can enable anyone to start a decentralized exchange in an easier way.

Telegram - Hivelance
Whatsapp - +91 8438595928
Mail -
Web -

chris_temple_50a828316252 profile image
Chris Temple

I recently purchased XDC on KuCoin and transferred it to my ledger but sent it to the XDC network rather then erc-20(as KuCoin and ledger do not have the XDC network as an option, my fault I know, this was the first time I had experienced this) I have all the routing numbers, and tags. Is it possible to retrieve my coins off the XDC network and get the coins back?

ruslan_wing profile image
ruslan wing

Please check out the detail guide to recover your tokens back