Convert a currency amount represented in base units (satoshi, wei, atoms, drops, stroops) to big units (btc, eth, rmg, xrp, xlm)
Convert a currency amount represented in big units (btc, eth, rmg, xrp, xlm) to base units (satoshi, wei, atoms, drops, stroops)
The cold wallet tool uses this function to derive an extended key that is based on the passed key and seed
Explain/parse transaction
Fetch fee estimate information from the server
The params passed into the function
The info returned from the merchant server
Generate ed25519 key pair
object with generated pub, prv
Get extra parameters for prebuilding a tx. Add things like hop transaction params
Return boolean indicating whether input is valid public key for the coin
the pub to be checked
is it valid?
Return wether the given m of n wallet signers/ key amounts are valid for the coin
Return boolean indicating whether input is valid seed for the coin In Algorand, when the private key is encoded as base32 string only the first 32 bytes are taken, so the encoded value is actually the seed
the prv to be checked
is it valid?
Return boolean indicating whether input is valid public key for the coin.
the pub to be checked
is it valid?
Specifies what key we will need for signing` - Algorand needs the backup, bitgo pubs.
Create a new wallet object from a wallet data object
Modify prebuild after receiving it from the server. Add things like nlocktime
Perform additional checks before adding a bitgo key. Base controller is a no-op, but coin-specific controller may do something
Coin-specific things done before signing a transaction, i.e. verification
Sign message with private key
Assemble keychain and half-sign prebuilt transaction
Hook to add additional parameters to the wallet generation
Check whether a coin supports blockTarget for transactions to be included in
Flag for sending data along with transactions
True if okay to send tx data (ETH), false otherwise
Flag for sending value of 0
True if okay to send 0 value, false otherwise
Generated using TypeDoc
Algorand supports account consolidations. These are transfers from the receive addresses to the main address.