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
Fetch fee estimate information from the server
The params passed into the function
The info returned from the merchant server
Generate secp256k1 key pair
object with generated pub and prv
Get extra parameters for prebuilding a tx. Add things like hop transaction params
Check if an address is valid for this ofc token.
These addresses are either bg-
address to check for validity
Return whether the given m of n wallet signers/ key amounts are valid for the coin
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 - right now we just need the user key.
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
Convert a currency amount represented in base units (satoshi, wei, atoms, drops, stroops) to big units (btc, eth, rmg, xrp, xlm)