Correction (Dec. 18, 2013): An earlier version of this article incorrectly stated that the long pink string of numbers and letters in the interactive at the top is the target output hash your computer is trying to find by running the mining script. In fact, it is one of the inputs that your computer feeds into the hash function, not the output it is looking for.
Another interesting way (literally) to earn bitcoins is by lending them out, and being repaid in the currency. Lending can take three forms – direct lending to someone you know; through a website which facilitates peer-to-peer transactions, pairing borrowers and lenders; or depositing bitcoins in a virtual bank that offers a certain interest rate for Bitcoin accounts. Some such sites are Bitbond, BitLendingClub and BTCjam. Obviously, you should do due diligence on any third-party site.
Bitcoin mining is the process of updating the ledger of Bitcoin transactions known as the blockchain. Mining is done by running extremely powerful computers (known as ASICs) that race against other miners in an attempt to guess a specific number. The first miner to guess the number gets to update the ledger of transactions and also receives a reward of newly minted Bitcoins (currently the reward is 12.5 Bitcoins).

Ledger’s main competitor in the market space is the original Trezor hardware wallet. One of the key advantages of the Ledger over the Trezor is the freedom to create your own unique passphrases. Both the Ledger and the Trezor require 20 passphrases for recovery and reset purposes; however, the Trezor package sends the user a random list. The Ledger gives the user the freedom to create their own. Additionally, if aesthetics matter to you, the Ledger sports an arguably sleeker design than the Trezor.

Keeping your Bitcoin wallet safe is essential as Bitcoin wallets represent high-value targets for hackers. Some safeguards include: encrypting the wallet with a strong password, and choosing the cold storage option i.e. storing it offline. It's also advisable to frequently back up your desktop and mobile wallets, as problems with the wallet software on your computer or mobile device could erase your holdings. 

Requiring a proof of work to accept a new block to the blockchain was Satoshi Nakamoto's key innovation. The mining process involves identifying a block that, when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of double SHA-256.
Then two things happen. New transactions are added to the Bitcoin blockchain ledger, and the winning miner is rewarded with newly minted bitcoins. The miner also collects small fees that users voluntarily tack onto their transactions as a way of pushing them to the head of the line. It’s ultimately an exchange of electricity for coins, mediated by a whole lot of computing power. The probability of an individual miner winning the lottery depends entirely on the speed at which that miner can generate new hashes relative to the speed of all other miners combined. In this way, the lottery is more like a raffle, where the more tickets you buy in comparison to everyone else makes it more likely that your name will be pulled out of the hat.

There are two basic ways to mine: On your own or as part of a Bitcoin mining pool or with Bitcoin cloud mining contracts and be sure to avoid Bitcoin cloud mining scams. Almost all miners choose to mine in a pool because it smooths out the luck inherent in the Bitcoin mining process. Before you join a pool, make sure you have a bitcoin wallet so you have a place to store your bitcoins. Next you will need to join a mining pool and set your miner(s) to connect to that pool. With pool mining, the profit from each block any pool member generates is divided up among the members of the pool according to the amount of hashes they contributed.
An additional passphrase can be added to the 24-word seed. This provides extra protection, since anyone who finds someone else’s 24-word seed is free to access the funds. If the optional passphrase is added, an attacker still wouldn’t be able to access funds without both the seed AND the passphrase. If the passphrase is forgotten, it cannot be recovered.

In January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block.[18][19] Embedded in the coinbase of this block was the following text: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks."[10] This note has been interpreted as both a timestamp and a comment on the instability caused by fractional-reserve banking.[20]:18