CredentialSigner.create constructor

CredentialSigner.create(
  1. EthPrivateKey privateKey,
  2. String password,
  3. Random random,
  4. {int scryptN = 8192,
  5. int p = 1}
)

Implementation

CredentialSigner.create(
    EthPrivateKey privateKey, String password, Random random,
    {int scryptN = 8192, int p = 1})
    : _credential = Wallet.createNew(privateKey, password, random,
          scryptN: scryptN, p: p);