Developers Forum for XinFin XDC Network


Posted on • Updated on

[Solved] Error deploying contract via HardHat

Hey all, I am trying to deploy a contract on XDC chain via hardhat and getting this error:

Image description

There is no bug on the scripts or contracts which I know as I can deploy on other chains.
When I check the explorer the contract was being deployed but still I get this error after deployment causing the script to end.

Would be a great help if anyone can respond to this issue.

Discussion (2)

cryptosandtokens profile image
Robert Aronovici

Check out the support channels for quick responses:


mitali_blocksscan profile image

Hello @albyzyx
We are rectifying the issue till then please try using truffle to deploy your contract please feel free to ask further queries