2
1
I am writing hd wallet following bip44.
After each transaction, should I create a brand new change address each time? Or can I use the same change address multiple times? What is the recommended practice here?
2
1
I am writing hd wallet following bip44.
After each transaction, should I create a brand new change address each time? Or can I use the same change address multiple times? What is the recommended practice here?
1
The recommended practice is to use any address for only one input and one output. Once you've done that, don't use it again.
To illustrate with examples:
I see. But this means I have to create a new change address with all transactions that needs a change address. How feasible is this? I mean I will have number of address that is almost equal to number of outbound transactions. – Cem Karay – 2018-01-21T09:41:38.360
@cemkaray All HD wallets already do it, so I'd say it's fully feasible. – 4276 – 2018-01-21T15:44:08.363