CredentialSigner.createRandom constructor
- String password
Implementation
factory CredentialSigner.createRandom(String password) {
final random = Random.secure();
final privateKey = EthPrivateKey.createRandom(random);
final credential = Wallet.createNew(privateKey, password, random);
return CredentialSigner._internal(credential);
}