Developers Forum for XinFin XDC Network

Discussion on: is Truffle support XDC ?

Collapse
gzliudan profile image
Daniel Liu • Edited on

In fact, I deployed contracts to XDC chain by truffle and hardhat successfully in early august. But I encounter the same error when I use truffle or hardhat now. If the jsonrpc of xdc chain is not modifed, maybe you can try to downgrade truffle.

Collapse
gzliudan profile image
Daniel Liu • Edited on

I found the reason why I deployed contracts with hardhat and truffle successfully in July. The prefix of address is still 0x in Jul, but it is changed to xdc in August. I opened 2 issues on hardhat and truffle today. Maybe they have a solution.

Collapse
logeswaran profile image
Lokesh Author

great to hear!, sure will give a try.. For now, I have used evm compatible rpc to go with 0x :)