Reserved IP Address°C
02-23-2025
BSV
$38.04
Vol 15.33m
2.21%
BTC
$96153
Vol 15448.66m
-0.53%
BCH
$328.72
Vol 129.88m
3%
LTC
$127.64
Vol 583.3m
-0.28%
DOGE
$0.24
Vol 717.55m
0.23%
Getting your Trinity Audio player ready...

This post was first published on Medium. Read Delegation in Bitcoin.

We introduce a simple yet universal delegation mechanism, an alternative to the script-level delegation we have developed.

Transaction-Level Delegation

Let us say Alice wants to delegate her UTXO to Bob. She creates a transaction of two inputs: one spending her UTXO and the other spending Bob’s UTXO. She signs her input using sighash flag SIGHASH_NONE, meaning all outputs of the transaction can be malleated. She hands the partially signed transaction to Bob. Bob can sign the second input and send Alice’s coins to whatever outputs he wants. Essentially, Alice has delegated her UTXO to Bob.

Delegation in Bitcoin: Part 2

Delegation

Bob’s UTXO can come from an existing UTXO controlled by Bob. If no such UTXO exists, Alice can simply create one and deposit minimal dust-level bitcoins into it.

Compared to script-level delegation, the delegated UTXO does not need to be transferred to a delegate smart contract first. It can be deployed to existing wallets today.

Acknowledgements

Original idea comes from this post in the bitcoin-dev mailing list.

Watch: Coingeek New York panel, BSV vs. Other Blockchains: Differences that Matter for Developers & Businesses

Recommended for you

Majorana 1 chip offers breakthroughs in quantum computing
Microsoft's Majorana 1 chip signifies a leap in quantum computing, but developers in the blockchain community should still be wary...
February 21, 2025
Ransomware losses tumble but threat remains: Chainalysis
A new report shows that collaboration between authorities and victims' refusal to negotiate with bad actors caused a decline in...
February 20, 2025
Advertisement
Advertisement
Advertisement