I implement a webshop, basically it is more than a wehshop a marketplace and I would offer Bitcoin payment. There are 3 roles: buyer, seller, and the marketplace.

The procedure I imagined, that that seller has the private key. Seller derive adresses, where one would epxect the incomes. Seller hands those addresses to marketplace.

When buyer comes and want to purchase a product, marketplace return an address. Marketplace record in DB which buyer and address belongs together. Later Maketplace pull Blockchain, and check wether amount appeared in the specified address. If so, than pruduct can be shipped.


Is it possible derive pathes without prive key? If so in which wallet?

1 Answer 1


Yes, you can use a hierarchical key ("xpub") to do that. The seller will generate a wallet and provide you with their wallet's "xpub" public key, and they keep the corresponding private key "xprv". You can use the "xpub" to generate addresses for their wallet, and the seller can use their "xprv" private key to spend from those addresses.

I believe most wallet software supports this by default.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.