Friday, September 20, 2024
HomeBitcoincoldstorage - How does a HD pockets work in apply?

coldstorage – How does a HD pockets work in apply?


Nevertheless, if grandchild key pair 1 incorporates 1 BTC, and grandchild key pair 2 incorporates 2 BTC, may I ship the three BTC whole as a single transaction?

Sure, however not in the way in which you describe it.

Bitcoin, on the protocol stage, doesn’t “belong” to a key. That’s, there isn’t any steadiness per tackle or per key as an idea.

As an alternative, consider them as cash. Each time you receives a commission, you obtain a separate new “coin”. Every coin has a bit of program (the locking script) that determines who’s allowed to spend it. In apply, your cash are ones with a locking script that requires a signature with a key you may have.

The protocol permits creating transactions that spend a number of cash directly. It doesn’t matter whether or not these cash all have the identical tackle, or completely different addresses derived from the identical grasp key, or even when they’ve utterly unrelated addresses solely. They’re simply a number of cash, and every coin individually requires a signature.

actually, nothing prevents a number of folks from developing a single transaction that spends a number of cash owned by completely different folks in the identical transaction. That is referred to as a CoinJoin transaction.

If that’s the case, would this seem on-chain to depart from the kid key pair tackle from which each are derived?

All HD wallets do is change the way in which a person pockets derive their keys. Different nodes or events on the community have no idea or care the keys are constructed in a associated means. So long as they have no idea the grasp public key, your keys are indistinguishable from random keys. The one factor seen on chain is that the transaction spent cash that have been beforehand despatched to distinct addresses, however that is the case for nearly all transactions on the community.

If the grasp non-public key was in chilly storage, however one of many little one non-public keys was not, may the pockets be outlined as a chilly pockets?

This isn’t attainable with non-hardened keys. Given a toddler non-public key and the grasp public key, you’ll be able to compute the grasp non-public key, and from that, all different little one non-public keys.

Thus, you state of affairs is equal to the non-cold system getting access to all non-public keys, and the entire setup may be very a lot not chilly.

With hardened keys, understanding the kid non-public key doesn’t reveal the grasp non-public key, however you lose the benefit of having the ability to compute little one public keys with out entry to the grasp non-public key.

in both case, I’d not name this a chilly setup. I’d reserve that time period for setups the place no cash are ever on an internet system.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments