2
I am building a app, and the design is, the "welcome page" has a qr code allowing the user to purchase a single-use of the app.
Blockchain.info conveniently allows you to use xpub to generate addresses, however, their docs mention bip 44, and the "gap limit"... This is instantly a problem as I can imagine, say 30 users simultaneously going to the app (more realistically, 30 users going to the app under the amount of time it takes a single user to purchase), 20 will be presented bitcoin addresses to purchase, 10 will not due to the api throwing gap limit errors.
What options do I have to get around this?
I've had others suggest I just manually generate a bunch of private keys and not use xpub, but manually having to consolidate all of those single-transactions-per-address just sounds like an absolute nightmare that I would like to avoid.
UPATE
Is there any way at all to re-use the same address every time, but attach a guid to it so that when I see the txn broadcasted, I can link it with a given user's session? This is really all that I need. I don't need xpub.. I just need a way to identify that user A and user B both are viewing the welcome page, user A doesn't pay, user B does, user B is automatically given access, user A is not.
5
Possible duplicate of How to solve Blockchain 20 address gap-limit problem?
– pebwindkraft – 2018-03-19T09:29:47.5671@pebwindkraft unfortunately that post doesn't offer any sort of solution or suggestion. – patrick – 2018-03-19T17:46:51.420
Use https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#Public_parent_key_rarr_public_child_key ? Do you need an implementation?
– MCCCS – 2018-03-20T04:22:31.693