Developers Forum for XinFin XDC Network

Ooki Marinade
Ooki Marinade

Posted on

Fork ETH mainnet contract to XDC network

I am gonna deploy same ICO contract in XDC network like in Ethereum mainnet.

ICO contract on Eth mainnet; https://etherscan.io/address/0xBa2909fF1e68A2E9ec6bcf170d3F8EfCc851273a

I need UniswapV2Factory address as argument for deployment.

I didn't expect that XDC doesn't support UniswapV2Factory.

Is there any solution?

Any advices will be appreciated.

Discussion (3)

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello @ooki_marinade_07ecd013dd6
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.

Collapse
juklee0ira profile image
JukLee0ira

Hello @ooki_marinade_07ecd013dd6 ,

The following two addresses can be used as alternatives for UniswapV2Factory. You can try passing these addresses as parameters:

  • Factory of XSPSwap: 0x347D14b13a68457186b2450bb2a6c2Fd7B38352f

  • Factory of Globiance: 0xA8334Aae58e5bDee692B26679c1817F9c42f8f51

If they do not meet your expectations, you also have the option to deploy the UniswapV2Factory contract yourself on the XDC network