Developers Forum for XinFin XDC Network

Discussion on: [Solved] wrapping XDC

Collapse
thanasimos profile image
Thanasimos

Hi Romel, this transaction is an XDC wrap transaction where you have wrapped your XDC into the ERC-20 token form of wXDC.

It looks like you then approved the bridge allowances, but did not actually submit the bridge transaction.

That wXDC is still on your XDC address, which you will be able to see if you add the wXDC token to your wallet, or if you go to the bridge site and check your balance.

Collapse
romel_mamou_7ce8b33403c72 profile image
Romel Mamou Author

are you saying the swap did not happen?

Collapse
flintstone profile image
Flintstone • Edited on

You can check your balance using the Read section of the WXDC contract and using function BalanceOf (enter your address and select Call). You will notice you have a balance of 100 WXDC.

From here, you can carry on with the bridging process, swap WXDC for XDC on XSwap DEX, or use the Withdraw function of the Write section of contract and enter in the balance 100 (+ 18 zeros) to unwrap.

Contract: explorer.xinfin.network/address/xd...

Thread Thread
romel_mamou_7ce8b33403c72 profile image
Romel Mamou Author

you guys are the best...... i haven't done it yet, the system is asking me for some gas fee to move them out... i just wont to thank all of you for helping me.. love you guys. thanks