Hello,
We want to accept bitcoin on our ecommerce, we want each user to have a unique bitcoin address.
How to generate those addresses ? Is it possible to generate them without the private key ? We don't want to have the private key anywhere in the code.
How to access all the bitcoins in all those addresses at once ? Is it possible to receive the bitcoins in unique addresses but in the same account ?
Best regards,
you could use electrum => create a new HD wallet, then export the xpub and use this xpub to derive new addresses on your ecommerce site.
This way, you can derive as many addresses as you want without the xprv (or any derived private key for that matter) ever touching your server.
If you want extra security, you can generate the electrum wallet on an airgapped machine, or use a hardware wallet (they're HD to)