richardkiss / pycoin

Python-based Bitcoin and alt-coin utility library.
MIT License
1.4k stars 497 forks source link

How to generate many addresses from a parent address #405

Closed haysquareA closed 1 year ago

haysquareA commented 2 years ago

Hello there, I'm new to pycoin and couldn't get my head around it well yet. I'm working on a project requiring a parent address with many child addresses that could be used to receive coins.

For example, Address A would be able to create child 1, child 2 and child 3 ..... and those children could be used to receive coins that will go straight to the parent's Address A Thanks a lot in advance

superswan commented 2 years ago

You are basically looking for HD wallet functionality. The addresses are not cryptographically related to each other. In most wallets that work this way. A single seed determines the generated addresses and their association. Do you have an example of a wallet or blockchain that already has this functionality?

haysquareA commented 2 years ago

py_crypto_hd_wallet seems to have.

haysquareA commented 2 years ago

You are basically looking for HD wallet functionality. The addresses are not cryptographically related to each other. In most wallets that work this way. A single seed determines the generated addresses and their association. Do you have an example of a wallet or blockchain that already has this functionality?

py_crypto_hd_wallet seems to have