Post
Topic
Board Bitcoin Technical Support
Re: Withdrawal in HD wallet with very large gap of unused addresses
by
vicknick
on 19/05/2020, 06:18:26 UTC
You could assign each user with their own address index and only assign it when user want to see the bitcoin address for deposit to reduce workload of the wallet software.

Code:
m / purpose' / coin_type' / account' / change / address_index

2. Is it possible to combine bitcoin from different addresses when withdrawing? Say there is one bitcoin in 1st address and there is one bitcoin in the 1,000,000th address. If I want to withdraw 2 BTC, will the wallet able to combine the bitcoin from two addresses in a single transaction?

Yes, it's possible.

No possible with our site service. Each users must have an address upon signing up. And also, that doesn’t really answer the question of having many unused addresses.