0

I want to redeem bitcoin received into several bip32 subwallets in only one transaction. Is that possible?

I've tried using pycoin's ku utility to generate a tpub and a wif from a tprv. I'm using the tpub to generate the subwallets and the wif to sign the transaction, but pycoin says the signing fails.

Is that conceptually wrong, or am I just handling the keys in the wrong way?

1 Answer 1

2

a Bitcoin transaction can have between 1 and (realistically) several hundred inputs, each of which can redeem completely unrelated UTXOs. Whether or not the keys for those UTXOs are related through BIP32 or some other scheme is not relevant, and even not observable by the network (it is not possible to correlate different BIP32 keys unless you know their master key).

3
  • So in a transaction, each utxo is signed separately?
    – Gabriel
    Feb 1, 2017 at 18:02
  • That's correct. Feb 1, 2017 at 19:21
  • In a non bip32 situation, where all utxos point to the same wallet, that looks like a terrible waste of block space.
    – Gabriel
    Feb 2, 2017 at 13:23

Your Answer

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

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