Reserved IP Address°C
10-23-2024
BSV
$47.08
Vol 13.52m
-2.5%
BTC
$66565
Vol 28819.43m
-0.8%
BCH
$352.61
Vol 191.18m
-1.96%
LTC
$68.88
Vol 367.77m
-2.9%
DOGE
$0.13
Vol 1497.39m
-4.07%
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

BSV Association joins OnlyDust’s developer event sponsor list
OnlyDust is a network for open-source developers working with blockchain and decentralized projects; its purpose is to connect contributors, maintainers,...
October 23, 2024
How Teranode will leave the competition in the dust
As we enter 2025, other blockchain networks that touted themselves as the future of scalability will find themselves behind BSV...
October 22, 2024
Advertisement
Advertisement
Advertisement