Simulating transactions using react/nextjs + wagmi + hardhat #2678
mhpaler
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you're using react/nextjs + wagmi + hardhat and want to simulate a transaction happening on a real blockchain (ie. it takes a few seconds for the transaction to complete), make sure you use mempool order: "fifo" in your hardhat config. eg:
Took me quite a while of testing to figure this out and hope it helps someone else!
Beta Was this translation helpful? Give feedback.
All reactions