Thanks for the help @mitali_blocksscan !!
I migrated to truffle and the problem is solved.
I think it was a problem with hardhat.
I tried everything when i was on hardhat but to no avail
Now it is working absolutely fine, all thanks to @mitali_blocksscan thanks for all the help!!
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for the help @mitali_blocksscan !!
I migrated to truffle and the problem is solved.
I think it was a problem with hardhat.
I tried everything when i was on hardhat but to no avail
Now it is working absolutely fine, all thanks to @mitali_blocksscan thanks for all the help!!