/** * Derive a path in the tree of available addresses. * * @param string $path * @return MultisigHD */ public function derivePath($path) { return $this->deriveFromList($this->sequences->decodePath($path)); }
/** * Decodes a BIP32 path into actual 32bit sequence numbers and derives the child key * * @param string $path * @return HierarchicalKey * @throws \Exception */ public function derivePath($path) { $sequences = new HierarchicalKeySequence($this->ecAdapter->getMath()); return $this->deriveFromList($sequences->decodePath($path)); }