dabit3 / polygon-ethereum-nextjs-marketplace

A full stack digital marketplace running on Ethereum with Polygon & Next.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: nonce has already been used (error={"code":-32603...method="sendTransaction", transaction=undefined, code=NONCE_EXPIRED, version=providers/5.5.0)

nicolasguasca1 opened this issue · comments

I see that Hardhat throws the following:

eth_sendRawTransaction

Nonce too low. Expected nonce to be 2 but got 0.

I notice previously that hardhat sends the transaction to an address that is neither of the contract:

eth_call
WARNING: Calling an account which is not a contract
From: <<>>
To: 0x44691b39d1a75dc4e0a0346cbb15e310e6ed1e86

Any ideas on how to debug this?

can you share the code

Try to reset your wallet history