Wallet.generate constructor

Wallet.generate(
  1. DatabaseFactory databaseFactory,
  2. FileSystem fileSystem,
  3. String filename,
  4. String name,
  5. PeerNetwork network,
  6. [CruzawlPreferences prefileSystem,
  7. StringCallback debug,
  8. WalletCallback loaded]
)

Generate new HD Wallet.

Implementation

Wallet.generate(sembast.DatabaseFactory databaseFactory,
    FileSystem fileSystem, String filename, String name, PeerNetwork network,
    [CruzawlPreferences prefileSystem,
    StringCallback debug,
    WalletCallback loaded])
    : this.fromSeedPhrase(databaseFactory, fileSystem, filename, name,
          network, generateMnemonic(), prefileSystem, debug, loaded);