Closed unpWn4bl3 closed 3 months ago
2 steps to validate this:
{menomic: menomic}
in the NAVISDKClient configration setup2 steps to validate this:
- Console.log to make sure you did get the menomic
- Specify
{menomic: menomic}
in the NAVISDKClient configration setup
a { mnemonic: menomic}
would fix my problem. Is this a expected behaviour or shoud it be more type issue robust?
As you can see from the constructor:
constructor({ mnemonic = "", networkType, accountIndex = 0 }: initializeParas = {})
If you not specify your paras menomic is for mnemonic, it will use "" for default, which auto generate a wallet mnemonic for you
I'm using navi-sdk 1.1.20 ts sdk, and the account derived from same menomic is random. The menomic is read from .env using dotenv