The password to calculate the address for.
Optional
username: stringThe username to calculate the address for, if the wallet format requires one. This is usually not required.
The wallet format to apply to the password to convert
it into a private key, defaults to "kristwallet"
.
The address prefix to use, defaults to "k"
.
Generated using TypeDoc
Generates a Krist address from a password. This will also apply the given wallet format to the password to convert it to a private key, before passing it to the address algorithm.
Returns
A tuple containing the generated address and the private key with the wallet format applied.
Example
Get just the address:
Example
Get both the address and the private key:
Example
Get an address, using a different wallet format: