Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
I have a Keypath (with is a 2/2 Multisig) and a tweak attached to it, this tweak is responsible for the Scriptpath.
The Scriptpath only has a backup public key (used rarely).
Alice + Bob's Public Keys form the Multisig, which is then tweaked. After the tweak I derive a bech32 address.
How can I construct hundreds of different bech32 addresses without having to change any underlying keys?
I want to be able to spend UTXOs across addresses in a single transaction involving just Alice and Bob's single key (basically everything like derivation paths before Taproot).
If you cannot change the keys, then you can only change what they are tweaked with, i.e. the script path. Because the script path is a merkle tree, you could just add another script that contains just an unspendable script with a counter and increment it each time (the script needs to be unspendable as otherwise if anyone were to guess that path, they could potentially use it to steal your coins). That would be sufficient to change the merkle root so that the tweak is different.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments