UNPKG

@dashevo/wallet-lib

Version:
11 lines (6 loc) 453 B
**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.