Wallet JS Library
The dusk-wallet-js uses the web assembly generated from wallet-core
the web assembly is embedded in the npm package
that’s released with the dusk-wallet-js
API
(might change in the future)
The documentation of all the methods are written in jsdoc but they do exactly what the function name suggests. To instantiate a wallet instance
The seed is an array of 64 bytes max, to generate a seed, the user of the library is responsible for generating them correctly and pass them there.
To call any of the above functions, you need to be synced first, if you are not synced then the balance and other operations will fail!
To sync correctly, just call sync and wait before it completes