Hello everyone.
I am cybersecurity student and i'm writing a term paper on the topic "Personal sign vulnerability".
I have found a few examples on github, but they don't work properly.
Every time i'm signing the message on testnet(Eth Goerly, Polygon Mumbai) i receive next error: insufficient funds for gas * price + value. I have enough funds on account to send them and pay for gas.
Also i've tried to work with hardhat local node and i got another error: sender doesn't have enough funds to send tx. The max upfront cost is: 10075158544175000 and the sender's account only has: 0
Of course, i have much more ether than 0 and correct account connected to web app
I don't understand why this error popping up and how to fix it.
My code uploaded to github - https://github.com/cybermage97/personal-sign-vulnerability
Help me please, I can't do it on my own
I am cybersecurity student and i'm writing a term paper on the topic "Personal sign vulnerability".
I have found a few examples on github, but they don't work properly.
Every time i'm signing the message on testnet(Eth Goerly, Polygon Mumbai) i receive next error: insufficient funds for gas * price + value. I have enough funds on account to send them and pay for gas.
Also i've tried to work with hardhat local node and i got another error: sender doesn't have enough funds to send tx. The max upfront cost is: 10075158544175000 and the sender's account only has: 0
Of course, i have much more ether than 0 and correct account connected to web app
I don't understand why this error popping up and how to fix it.
My code uploaded to github - https://github.com/cybermage97/personal-sign-vulnerability
Help me please, I can't do it on my own