You probably saw the news this week that two people have solo mined a Bitcoin block and earned 6.25 BTC worth over $250,000. You’re probably wondering
What is solo mining?
How much does it cost?
What are the odds?
Should you be mining?
Let me break it down for you 👇
Solo mining is exactly what it sounds like. It’s what you probably think of when you think of mining. It means someone is mining all by themselves.
So why is it explicitly called out as “solo mining”? It’s because the norm these days is to mine as part of a pool.
What is a mining pool? Well as more and more people mine it becomes harder and harder to mine a block by yourself.
This means the time it takes for you to find a block is also increasing. In order to generate a steady stream of revenue miners often pool together.
This means everyone in the pool contributes their hash rate and when the pool finds a block they can split the revenue proportionally based on how much hash rate you contributed.
This reduces the variance in your revenue, allowing you to generate it more evenly over time.
The two solo miners both had a little over 110 TH/s of mining power. That means they can calculate 120 trillion hashes per second.
Miners are searching for a hash that is below the current hash target. For a refresher on mining, see my earlier thread:
So how much does 110 TH/s of mining equipment cost? This is roughly how much power a single Antminer S19 Pro has.
The price fluctuates with demand but will cost you roughly $12,000 USD. We need to factor in the cost of electricity as well because it uses 3250W of electricity.
The price of electricity varies all over the world but in the US this would cost you roughly $10/day to run. So the total cost is roughly $12,000 + $10 per day it takes you to find a block.
So how long on average will it take you to find a block solo mining with this S19 Pro?
Based on the current difficulty it is expected to take roughly 104,669,950,140 trillion hashes to find a block.
If our miner can perform 110 trillion hashes per second this means we will be able to perform 66,000 trillion hashes in the 10 minutes we have to find a block.
This means we have roughly a 0.00006% percent chance to find the block before we expect someone else to.
It also means it will take us roughly 951,545,001 seconds or about 30 years to find a block on average. The odds aren’t so great, those miners got so lucky!
This means the expected cost to solo mine a block is $12,000 + ($10 * 365 * 30) = $121,500.
This is less than the $250,000 you will earn!
Of course this depends on the hashrate,price of electricity, and price of Bitcoin remaining constant for 30 years.
So should you mine?
Well if your intent is to be profitable then you should probably join a pool. Mining solo you can expect to earn $0 almost every day for 30 years until you maybe find a block.
If you join a pool you can expect to generate roughly $28 per day.
If we subtract the electricity cost then you will profit almost $20/day!
So how long will it take to pay off the $12,000 the mining equipment cost?
Roughly 600 days!
That’s a long time.
Also, the amount you make daily will drop each day as more miners join the network.
So if you should mine really depends on your risk appetite. You need to be able to acquire the equipment, have a low electricity cost, and be willing to wait for a return on your investment.
It’s often a better investment to just buy BTC directly.
A huge benefit of mining is that it’s a way to acquire Bitcoin without having to provide anyone with personal identifying information.
It’s one of the only ways to acquire Bitcoin in a truly private way.
I hope this helped you understand what solo mining is and just how lucky those miners were.
I hope it also helped you understand a little bit more about the costs and potential profitability of mining.
Follow me for more daily education about Bitcoin!
There’s a typo in that 5th tweet. A 110TH/s is 110 trillion hashes per second 😅sorry for any confusion!
• • •
Missing some Tweet in this thread? You can try to
force a refresh
We learned that the cost to send Bitcoin is proportional to the size of the tx and that the size of the tx depends on the size of the inputs and outputs.
The UTXOs we control are used as inputs for all txs that we make. This gives us control over the size of our tx.
When picking inputs to use we need to make sure the total amount in is >= the total amount going out. We can save money by minimizing the number of inputs we use.
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).
🧙♂️
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.