Wallet.createRandom constructor

Wallet.createRandom()

Returns a new Wallet with a random private key, generated from cryptographically secure entropy sources. If the current environment does not have a secure entropy source, an error is thrown.

Wallets created using this method will have a mnemonic.

Implementation

factory Wallet.createRandom() => Wallet._(_WalletImpl.createRandom());