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

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

Specs

Specs

hardened_child_num() :: 2_147_483_648..4_294_967_295
Link to this type

non_hardened_child_num()

View Source

Specs

non_hardened_child_num() :: 0..2_147_483_647

Specs

t() :: %Bitcoinex.ExtendedKey.DerivationPath{child_nums: [child_num()]}

Link to this section Functions

Link to this function

add(derivation_path1, derivation_path2)

View Source

Specs

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

Specs

to_string(t()) :: {:ok, String.t()} | {:error, String.t()}