View Source Bitcoinex.ExtendedKey.DerivationPath (bitcoinex v0.1.8)

Contains a list of integers (or the :any atom) representing a bip32 derivation path. The :any atom represents a wildcard in the derivation path. DerivationPath structs can be used by ExtendedKey.derive_extended_key to derive a child key at the given path.

Link to this section Summary

Link to this section Types

@type child_num() :: hardened_child_num() | non_hardened_child_num()
@type hardened_child_num() :: 2_147_483_648..4_294_967_295
Link to this type

non_hardened_child_num()

View Source
@type non_hardened_child_num() :: 0..2_147_483_647
@type t() :: %Bitcoinex.ExtendedKey.DerivationPath{child_nums: [child_num()]}

Link to this section Functions

Link to this function

add(derivation_path1, derivation_path2)

View Source
@spec from_string(String.t()) :: {:ok, t()} | {:error, String.t()}
Link to this function

max_hardened_child_num()

View Source
Link to this function

min_hardened_child_num()

View Source
Link to this function

to_string(derivation_path)

View Source
@spec to_string(t()) :: {:ok, String.t()} | {:error, String.t()}