Let’s talk about UTXOs and account models.
A UTXO can only be spent in its entirety. If the payment amount is less than the UTXO’s value, the remainder is sent back to the sender’s address as change.
One thing that’s easy to overlook: the account model is more like a regular bank account, with a clear balance that’s easier to work with when writing smart contracts. The tradeoff is that transactions from the same account must be queued and executed in nonce order.
Receiving funds at the same Bitcoin address every time can expose your transaction history. Many wallets generate a new address by default for each payment and for change.
$BTC uses the UTXO model. The balance shown in the wallet is actually the sum of multiple unspent outputs.
For reference only. Use at your own risk.
A UTXO can only be spent in its entirety. If the payment amount is less than the UTXO’s value, the remainder is sent back to the sender’s address as change.
One thing that’s easy to overlook: the account model is more like a regular bank account, with a clear balance that’s easier to work with when writing smart contracts. The tradeoff is that transactions from the same account must be queued and executed in nonce order.
Receiving funds at the same Bitcoin address every time can expose your transaction history. Many wallets generate a new address by default for each payment and for change.
$BTC uses the UTXO model. The balance shown in the wallet is actually the sum of multiple unspent outputs.
For reference only. Use at your own risk.