You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah. We need to omit the account property in the Ethers adapter. Can fix when I’m back at the computer!
You could probably just use privateKeyToAccount now (added in 0.2). We will probably remove the ethers adapter in a future version as our private key implementation has parity.
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Viem version. If you have any questions or comments you can create a new discussion thread.
Is there an existing issue for this?
Package Version
0.2.9
Current Behavior
Expected Behavior
Sent tx successfully.
Steps To Reproduce
I posted this here a month ago. Now, I tried again. it's the same error in 0.2.x.
I follow this guide to writeContract, and this guide to convert ethers wallet to viem.
Code to reproduce:
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://stackblitz.com/edit/viem-getting-started-rjwzad?file=index.ts
Anything else?
If you need anything else (like gas to test or additional private info), you may contact me on discord
Songkeys#0001
or telegram.The text was updated successfully, but these errors were encountered: