You’ve decided it makes sense to own some Bitcoin, congrats! You took an important step but you might be wondering…
What do I really own?
Where and what exactly are the coins?
I’ve been working on Bitcoin for years, let me help explain it in simple terms 👇
First things first, if your Bitcoin is still on an exchange or some other custodial service then you don’t really own any Bitcoin. You own a promise or an IOU that will hopefully be redeemable for Bitcoin some day.
Not your keys, not your coins. A thread for another day.
Ok so you have your keys but what coins do you actually have?
There’s not some record in a database that says “Alice owns X Bitcoins”.
Technically, you have keys that can sign a transaction that spends an unspent transaction output (UTXO).
Let’s further break that down:
Transaction outputs are created as part of every tx.
They are typically thought of as receiving addresses, but they are actually defined by a locking script and an amount.
This locking script defines exactly what is required to later spend the specified amount of Bitcoin.
So owning Bitcoin means you have the keys needed to unlock the locking script of at least one UTXO.
Instead of looking up your balance as a single field in some database, your balance is defined as the sum of the amount fields of all the UTXO’s that you can unlock (spend).
Your wallet doesn’t really hold coins, it holds your keys.
Using your keys, your wallet is able to scan the blockchain and determine which UTXO’s you are able to unlock (and thus spend).
This is how it can show you your balance and help you construct transactions.
When you send someone else Bitcoin what you are really doing is using your keys to unlock some of your Bitcoin (by proving to the network you have the keys) and then locking it again in a new output that only the recipient knows how to unlock.
I hope this helped you understand what you really own when you own Bitcoin.
Be sure to follow me for tomorrow’s thread where I will dive deeper into why it’s important to understand what UTXOs are and how to manage them intelligently to save money and preserve your privacy.
• • •
Missing some Tweet in this thread? You can try to
force a refresh
🧙♂️
Did you know it’s technically possible for your lightning channel partner to attempt to steal money that is supposed to belong to you?
Let me explain how that’s possible and why they likely won’t try it 👇
To understand why this is possible we need to understand how payments are made over lightning channels.
Let’s imagine Alice opens a 100,000 sat channel with Bob by funding a 2-of-2 multisig address that can only be spent from using both Alice and Bob’s signature.
Before Alice locks her funds in the multisig they create a commitment tx that spends from the multisig address sending Alice her 100,000 sats and 0 sats to Bob.
She gets Bob to sign it but doesn't broadcast it so she can get her money out of the multisig if Bob disappears.
Mining is often talked about in the media as some dark art that involves ‘solving complicated math problems’ but in reality it’s pretty easy to understand.
Let me break it down for you 👇
2/ Miners need to show proof that they’ve done a certain amount of work in order for the block they are mining to be valid. When you mine a block you earn the current period’s mining reward (currently 6.25 BTC) and all of the fees from the transactions they include in the block.
3/ So how can one prove they’ve done a certain amount of work without anyone there to watch them do it? Well, they can find the answer to a problem that we know takes them a certain amount of work to solve. There are lots of things that could be used to prove someone did work.
You’ve probably heard Bitcoin lets you send money for free. You’ve also probably heard Bitcoin transactions are too expensive.
What’s going on here and why is there so much confusion around the cost to send Bitcoin? It’s kind of complicated, so let me break it down for you 👇
Technically it’s possible to make a Bitcoin transaction for free but in practice it’s really difficult. There’s nothing stopping miners from including transactions that do not pay a fee but most nodes on the network won’t relay transactions with a fee under a certain amount.
This means you either need to be a miner or somehow send your transaction directly to a miner. The latter case is still unlikely to work unless the miner is your friend because miner’s are incentivized to include transactions that pay them the most in fees.
If you’ve spent any time researching Bitcoin then you’ve probably heard about the Lightning Network but…
Why does it exist?
What is it?
How does it help Bitcoin scale?
I’ve been working with it for years, let me help explain it in simple terms 👇
Bitcoin produces blocks every 10 mins and they can hold a limited number of transactions. This limited space creates a fee market where users can bid for their transactions to be included in a block. This means transactions take at least 10 minutes and must pay fees to miners.
The Lightning Network is a p2p network of payment channels
A payment channel is a contract between two people where they commit funds using a single onchain tx. Once the funds are committed they can make an unlimited amount of instant & free payments over the channel.
The Fundamental Trade-Off Between Scalability and Decentralization And Why I’m Focused On Bitcoin
A core principle in Bitcoin is that every participant keeps a copy of the ledger and is able to verify every change made to that ledger. Without this we must trust someone else.
Decentralization is not a binary value but more of a sliding scale. It’s closely related to the number of participants in a system that can keep a copy of the ledger and are able to verify it. More participants, more decentralization. Less participants, less decentralization.
Like decentralization, scalability is also not a binary value. In monetary systems like Bitcoin, most people refer to scalability in terms of the number of transactions it can handle per time period. The more transactions it can process per second, the more scalable the system
How Will We Onboard Earth’s 7.753 Billion People To The Lightning Network?
I ran the numbers, let’s see how we can onboard the entire population of Earth onto the Lightning Network, how long it might take, and what we can do to speed the process up 👇
To onboard onto the lightning network it requires sending btc into a 2-of-2 multisig funding transaction with your channel partner. To optimize space in this transaction we want 1 native segwit input and a single channel funding output. This produces a tx of roughly 121vbytes.
If 100% of the transactions in a block were these channel opening txs we could onboard about 8,264 people to lightning per block. With a global population of 7.753 billion people it would take roughly 938,166 blocks or 17.8 YEARS for everyone on Earth to have a channel.