Skip to content

Conversation

@davispuh
Copy link

@davispuh davispuh commented Jul 8, 2025

There is a fork money-tree-extended (nikharR/money-tree).
Only thing it does it adds additional networks for few coin forks:

  • Litecoin (LTC)
  • Bitcoin Cash (BCH)
  • Zcoin (now called FIRO)
  • QTUM

I think it's unreasonable that every coin fork would also need some fork of money-tree.
I think money-tree should support popular coin forks by default so people can easily use it for other coins aswell.

For example with this PR this would automatically work:

network = :litecoin
master = MoneyTree::Master.new(seed_hex: seed)

masterPrivateKey = master.private_key.to_s(network: network)
rootKey = master.node_for_path('m').to_bip32(:private, network: network)

address = master.node_for_path(path).to_address(network: network)

In this PR I included these commits from money-tree-extended fork:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants