Hi @eesheng I’ve responded to the related issue you raised here
For the use case you have presented generateTestWallet
would not be appropriate. We are moving away from generateTestWallet
in favour of more explicit resource management through launchTestNode
, you can read more here
Given you want to instantiate a wallet in the browser though I recommend you follow this guide
Please let us know if this resolves your issue.