GemHQ / money-tree

A Ruby implementation of Bitcoin HD Wallets (Hierarchical Deterministic) BIP32
MIT License
185 stars 68 forks source link

Generate master node from private key #61

Closed Matthiasclee closed 2 years ago

Matthiasclee commented 2 years ago

Is it possible to generate a master node from a private key instead of the seed? I generated a random node and want to save just the priv key and generate that same node from that key.

bdescamps commented 2 years ago

You can use from_wif method