View Source BitcoinLib.Key.HD.DerivationPath.Parser.Purpose (BitcoinLib v0.2.0-pre1)

Link to this section Summary

Functions

Converts an bip integer into an atom representing the purpose

Link to this section Functions

@spec parse(integer()) :: :bip44 | :bip49 | :bip84 | :invalid

Converts an bip integer into an atom representing the purpose

examples

Examples

iex> BitcoinLib.Key.HD.DerivationPath.Parser.Purpose.parse(44) :bip44