Documentation
¶
Index ¶
Constants ¶
const HardenedSymbol = "'"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path string
func (Path) Indexes ¶
Indexes returns the derivation indexes corresponding to this path.
The following paths are valid:
"" (root key) "m" (root key) "/" (root key) "m/0'" (hardened child #0 of the root key) "/0'" (hardened child #0 of the root key) "0'" (hardened child #0 of the root key) "m/44'/1'/2'" (BIP44 testnet account #2) "/44'/1'/2'" (BIP44 testnet account #2) "44'/1'/2'" (BIP44 testnet account #2) "m/schema:1'" (Muun schema path)
The following paths are invalid:
"m / 0 / 1" (contains spaces) "m/b/c" (alphabetical characters instead of numerical indexes) "m/1.2^3" (contains illegal characters)
func (Path) IndexesFrom ¶
IndexesFrom returns the indexes starting from the given parent path.