RaiEx v0.1.0 RaiEx.Tools View Source
This module is provides convenience functions for working with payments.
Link to this section Summary
Functions
Calculates and compares the checksum on an address, returns a boolean
Changes the password for the wallet
Locks the given wallet
Generates a wallet seed
Unlocks the given wallet with its password
Creates a new adhod wallet
Creates a new encrypted wallet. Locks it with password
Link to this section Functions
Calculates and compares the checksum on an address, returns a boolean.
Examples
iex> address_valid("xrb_34bmpi65zr967cdzy4uy4twu7mqs9nrm53r1penffmuex6ruqy8nxp7ms1h1")
true
iex> address_valid("clearly not valid")
false
Changes the password for the wallet
.
Examples
iex> change_password(wallet, current_pwd, new_pwd)
{:ok, wallet}
iex> change_password(wallet, invalid_pwd, new_pwd)
{:error, reason}
Locks the given wallet.
Generates a wallet seed.
Unlocks the given wallet with its password
.
Creates a new adhod wallet.
Creates a new encrypted wallet. Locks it with password
.