type EncryptOptions: {
  "client": string;
  "entropy": BytesLike;
  "iv": BytesLike;
  "progressCallback": ProgressCallback;
  "salt": BytesLike;
  "scrypt": {
     "N": number;
     "p": number;
     "r": number;
    };
  "uuid": string;
};

The parameters to use when encrypting a JSON Keystore Wallet.

Type declaration

client?

optional client: string;

entropy?

optional entropy: BytesLike;

iv?

optional iv: BytesLike;

progressCallback?

optional progressCallback: ProgressCallback;

salt?

optional salt: BytesLike;

scrypt?

optional scrypt: {
  "N": number;
  "p": number;
  "r": number;
};

scrypt.N?

optional N: number;

scrypt.p?

optional p: number;

scrypt.r?

optional r: number;

uuid?

optional uuid: string;

Source

wallet/json-keystore.ts:43