Developers Forum for XinFin XDC Network

1007_Albin
1007_Albin

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)

Collapse
cryptosandtokens profile image
Robert Aronovici

Check out the support channels for quick responses:

t.me/xinfintech

or

discord.gg/uDMMX2Mz

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

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