Post
Topic
Board Hardware wallets
Re: REWARD $50: Funds not visible after using XPub to receive money in my store
by
tenant48
on 08/07/2022, 06:42:02 UTC
BIP44 derivation path has five levels:

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


But it should be this:

m / 44' / 0' / $client_id.' / 0 / 0 for receive addresses

m / 44' / 0' / $client_id.' / 1 / 0 for change addresses



If you insert a variable ($client_id) in place of account, then the XPub key will change all the time. To keep XPub unchanged, you can change only the last two fields (change and address_index).

have been doing automatic acceptance of BTC on my website through the blockchain.com service.
https://www.blockchain.com/ru/api/api_receive
There you need to give a request for an API key for your site. There are also examples of PHP scripts to insert into your site.