No. 1: Paper wallet or other cold storage. A paper wallet is simply a document that contains all the information you need to generate the bitcoin private keys you need. It often takes the form of a piece of paper with a QR code that can be scanned into a software wallet when you so desire. By storing your bitcoin offline, trusting nothing and no one but yourself, and if you have all the information you need to control and access your bitcoin, you're using the strongest "cold storage" method out there.
No one was more surprised than the miners themselves. By the end of 2017, even with the rapidly rising difficulty, the per-bitcoin cost for basin miners was around $2,000, producing profit margins similar to those of the early years, only on a vastly larger scale. Marc Bevand, a French-born computer scientist who briefly mined in the basin and is now a tech investor, estimates that, by December, a hypothetical investor who had built a 5-megawatt mine in the basin just four months earlier would’ve recovered the $7 million investment and would now be clearing $140,000 in profit every 24 hours. “Nowadays,” he told me back in December, miners “are literally swimming in cash.”

Bitcoin Mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady over time, producing a controlled finite monetary supply. Individual blocks must contain a proof-of-work to be considered valid. This proof-of-work (PoW) is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses a PoW function to protect against double-spending, which also makes Bitcoin's ledger immutable.
1. Once your mining computer comes up with the right guess, your mining program determines which of the current pending transactions will be grouped together into the next block of transactions. Compiling this block represents your moment of glory, as you’ve now become a temporary banker of Bitcoin who gets to update the Bitcoin transaction ledger known as the blockchain.

Each block that is added to the blockchain, starting with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully reverse the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack.[17]
The successful miner finding the new block is rewarded with newly created bitcoins and transaction fees.[83] As of 9 July 2016,[84] the reward amounted to 12.5 newly created bitcoins per block added to the blockchain. To claim the reward, a special transaction called a coinbase is included with the processed payments.[3]:ch. 8 All bitcoins in existence have been created in such coinbase transactions. The bitcoin protocol specifies that the reward for adding a block will be halved every 210,000 blocks (approximately every four years). Eventually, the reward will decrease to zero, and the limit of 21 million bitcoins[f] will be reached c. 2140; the record keeping will then be rewarded solely by transaction fees.[85]
Mining is the process of adding transaction records to Bitcoin's public ledger of past transactions (and a "mining rig" is a colloquial metaphor for a single computer system that performs the necessary computations for "mining". This ledger of past transactions is called the block chain as it is a chain of blocks. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
Numerous people have been suggested as possible Satoshi Nakamotos by major media outlets. On Oct. 10, 2011, The New Yorker published an article speculating that Nakamoto might be Irish cryptography student Michael Clear, or economic sociologist Vili Lehdonvirta. A day later, Fast Company suggested that Nakamoto could be a group of three people – Neal King, Vladimir Oksman and Charles Bry – who together appear on a patent related to secure communications that was filed two months before was registered. A Vice article published in May 2013 added more suspects to the list, including Gavin Andresen, the Bitcoin project’s lead developer; Jed McCaleb, co-founder of now-defunct Bitcoin exchange Mt. Gox; and famed Japanese mathematician Shinichi Mochizuki. 
Technically, during mining, the Bitcoin mining software runs two rounds of SHA256 cryptographic hashing function on the block header. The mining software uses different numbers called the nonce as the random element of the block header for each new hash that is tried. Depending on the nonce and what else is in the block the hashing function will yield a hash of a 64-bit hexadecimal number.  To create a valid block, the mining software has to find a hash that is below the difficulty target.

Nakamoto is estimated to have mined one million bitcoins[26] before disappearing in 2010, when he handed the network alert key and control of the code repository over to Gavin Andresen. Andresen later became lead developer at the Bitcoin Foundation.[27][28] Andresen then sought to decentralize control. This left opportunity for controversy to develop over the future development path of bitcoin.[29][28]