-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hierarchical Deterministic questions #36
Comments
Good question for @AustEcon. BIP32 is getting moved to its own repo: https://github.com/AustEcon/bsvbip32 |
As Teran says, I am moving all of the bip32 stuff to https://github.com/AustEcon/bsvbip32. As to your questions:
So at present, you'd have to manually iterate through all derivative addresses and add up the balances via bitsv... (that's why I want to make it better) - this was only a "patch job" but I want to improve on it soon.
PS: I will likely be deleting the entire bip32.py file from bitsv today... and will not be in the next release (coming soon). Use bsvbip32 instead or pin your version so you are not affected. 😄 |
Thanks |
Yes. That is correct. |
Would be nice if we could combine that all into one transaction but I imagine it'd be a lot more work. |
Well. I should have read more carefully... you could use existing bitsv stuff to extract all the utxos and construct your own single transaction... but currently there is no function that will do all that stuff for you. Something like this would be more easy to implement once I've done a bit more work on the bsvbip32 front... On the roadmap! |
Hi,
I have few questions about Hierarchical Deterministic usage:
In the example of the readme it shows the following line:
xprv = bitsv.Bip32utils.get_xprv_bip32_node("xprv9s21ZrQH143K4Un4SHjdvXpzzdQjpm7vVhQ79BMi5V58nptUo4NGqytwH68XAVj5LkDxjSqdVjdDinFCT8WqfBT7zigdtaGcrffTmBdwFH5")
From where exactly do get the string in the function parameter?
When i receive a payment into the addresses supplied by bitsv.Bip32utils.get_addresses_from_xprv() output does the balance of the received funds summarizes into a single parent address?
Assuming 2 is true:
Can i send payments from that parent address using the first example in the readme?
if not then how?
When that transaction is made then does multiple transactions of all the HD addresses are created? or only from the parent address?
Can the transactions made by the parent address be tracked if someone has a child HD address of it?
Thanks
The text was updated successfully, but these errors were encountered: