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?

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).

  • So in a transaction, each utxo is signed separately? – Gabriel Feb 1 '17 at 18:02
  • That's correct. – Pieter Wuille Feb 1 '17 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 '17 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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