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
I'm sorry for the inconvenience caused here, we removed that documentation in release 0.90.0 but I think was an error on our part. So we should re-introduce it.
That being said, we use the generateTestWallet utility for test suites in node. If you would like to generate a test wallet in the browser I would recommend that you use the Wallet.generate method. e.g.
I was able to reproduce the issue you are facing locally, the error you're encountering is due to a version mismatch between the Provider types from different versions of the @fuel-ts/account package i.e. you're using [email protected] and @fuel-ts/[email protected] ( since there was previously this issue in @fuel-ts/[email protected]) .
Regardless your setup is correct if you are testing in node, you can find a code snippet here
What version of fuels-ts are you using?
^0.89.2
Steps to Reproduce
Hi, is there an update going on? Not sure why it doesn't work and the documentation page is down https://docs.fuel.network/docs/fuels-ts/wallets/test-wallets/#setting-up-test-wallets
This is the code and I am running the local fuel node.
This is the forum post: https://forum.fuel.network/t/nodemodules-unable-to-import-generatetestwallet/5859
Expected Behavior
Able to use
generateTestWallet
and create a test wallet variableActual Behavior
Error:
The text was updated successfully, but these errors were encountered: