@dashevo/wallet-lib
Version:
Light wallet library for Dash
11 lines (6 loc) • 453 B
Markdown
**Usage**: `await wallet.createAccount(accountOpts)`
**Description**: This method, equivalent of a `new Account(wallet, accountOpts)` will create a new account having the specified options.
Parameters:
See the [Account](../account/Account.md) constructor parameters.
N.B : You also probably mean to use [`.getAccount()`](../wallet/getAccount.md) instead. This is designed mostly to be Private as get an account deal with it.
Returns : void.