How To Mine Bitcoins

Comment

Mining bitcoins – a process that helps manage bitcoin transactions as well as create new “wealth” – is the new Beanie Babies. Luckily for us, however, bitcoins seem to be going up in value and should maintain their value over time, unlike your mint condition Tiny the stuffed Chihuahua.

But how do you get bitcoins? You can begin by buying them outright, but the market is currently wild. At $188 per coin, the direction of the bitcoin is anyone’s guess right now and, unlike equities, these things don’t split. In short, you should probably mine. But what is bitcoin mining?

Think of it as work done by groups of people to find large prime numbers or trying keys to decrypt a file. You can read a lot more about it here but just understand that for every block mined you get 25 coins or, at current rates, $4,722.25. Currently a single bitcoin is valued at $188, an alarming result that is probably caused by money movements related to Cyprus and a general bubble-like excitement over the platform in general. In fact, many wager that the DDOS attacks on many bitcoin-related services are direct action by hackers to inject instability in order to reduce the price.

As it stands, mining solo is very nearly deprecated. The process of finding blocks is now so popular and the difficulty of finding a block so high that it could take over three years to generate any coins. While you could simply set a machine aside and have it run the algorithms endlessly, the energy cost and equipment deprecation will eventually cost more than the actual bitcoins are worth.

Pooled mining, however, is far more lucrative. Using a service like “Slush’s pool” (more on that later) you can split the work among a ground of people. Using this equation:

(25 BTC + block fees – 2% fee) * (shares found by user’s workers) / (total shares in current round)

While this is simplified, it is basically how the system works. You work for shares in a block and when complete you get a percentage of the block based on the number of workers alongside you, less fees. Using this method, I have been able to raise about $1.50 over the weekend by running a dormant PC. The astute among you will note that I probably used twice that amount of electricity.

Being a neophile, I’m surprised it took me so long to start mining. My buddy Tom explained how to set up a pooled mining account so I thought it would be interesting to share the instructions.

1. Get a wallet. You can either store your wallet locally or store it online. Coinbase.com is an online wallet that is surprisingly simple to set up. Wallets require you to use or download a fairly large blockchain file – about 6GB – so downloading and updating a local wallet may be a non-starter. Like all wealth storage mediums, keeping your bitcoins “local” is probably a better idea than trusting a web service, but that’s a matter of private preference. There is no preferred wallet type and there are obvious trade-offs to both. Privacy advocates would probably say a local wallet is best.

You can download a local wallet here but make sure you keep a copy of your data backed up.

Once you’ve created a wallet, you get an address like this: 1BEkUGADFbrEShQb9Xr4pKPtM8jAyiNQsJ. This, without the period, is a direct way to send bitcoins to your wallet. Make a note of your address. In Coinbase, the wallet address found under linked accounts.

Screen Shot 2013-04-08 at 9.17.19 AM

2. Join a pool. To mine in a pool you have to work with a group of other miners on available blocks. The most popular is Slush’s Pool found here. You can also try guilds like BTC Guild as well as a number of other options. Each of the pools is characterized mostly by the fees they charge per block – 2% for Slush’s pool, for example – and the number of users. Pools with fewer users could also have a slower discovery time but pools with many users usually result in smaller payments.

How can you be sure the pool owner doesn’t steal all your bitcoins? You can’t. However, as one pool owner, Slush, notes:

In theory, as the Bitcoin pool operator, I could keep the 25 BTC from a block found by the pool for myself. I’m not going to do this, but I completely accept that people do not trust the pool operator. It is their freedom of choice, and Bitcoin is about freedom.

For simplicity’s sake, I’m using Slush’s Pool and have created three workers. First, create a pool login. Then add workers. The workers are sub-accounts with their own passwords and are usually identified by [yourlogin].[workername]. I have three workers running, currently – one on my iMac and two on my old PC.
Screen Shot 2013-04-08 at 3.05.25 PM

You must create workers to mine. The instructions are very straightforward for most services so don’t become overwhelmed. Like any online club, you can dig deeply into the subculture surround bitcoin as you gain experience. I like to think of it as a financial MMORPG.

Also be sure to enter your wallet address into the pool information. This will ensure you get your bitcoins.

3. Get a miner. There are a number of mining options for multiple platforms although OSX users may find themselves in a bit of a pickle. Miners use spare GPU cycles to power the mining operation, much like services like SETI@Home uses spare cycles for finding intelligent life. Miners, on the other hand, use these cycles to help handle peer-to-peer processes associated with bitcoins. Thus by doing “work” you are maintaining the network as well.

GUIMiner is the simplest solution for Windows users as it allows you to create miners using almost all standard graphics cards. You can download it here. 50Miner is also a popular solution. Both require you to enter your worker info and pool and they’ll start mining.

Linux users can run miners like CGMiner. An excellent guide to installing a miner on Ubuntu is available here.

OS X users can use DiabloMiner, a two-year old command-line program that will mine using OpenCL. Sadly, it uses deprecated calls to Bitcoin and is quite a bit slower. As a result, you need to run your own proxy, Stratum, that allows Diablo to connect with services like Slush’s pool. Both of these programs usually run without issue on OS X although you may need to install OpenCL for OSX.

To mine I’ve created a script that I run in Terminal that simply runs the proxy in the background and then connects Diablo. Note the last two arguments are necessary for Mountain Lion.

./stratum-mining-proxy-master/mining_proxy.py &
./DiabloMiner-OSX.sh -u WORKERNAME -p WORKERPASSWORD -o localhost -r 8332 -w 64 -na

RPCMiner is far easier to run – you simply click an icon and enter some data – and both have very rudimentary, text-based interfaces. Running Diablo on my iMac has not had much effect on application performance under OS X although it does slow down my Windows 8 machine considerably.

4. Keep your mind on your money. Bitcoins are baffling in that they are wildly simple to use and mine. Speculators, then, would probably be able to throw hundreds of machines at the problem and gather bitcoins like raindrops, right? Wrong. As more bitcoins are found, they become more difficult to find. This profitability calculator will help you understand what you’re up against but understand that this isn’t a sure thing. I’ve run my systems for a weekend and seen a mere $1.50 – enough for a coke – but other users may have improved hardware and methods to succeed. In short, if it costs more to run your hardware than you gain in bitcoins, you’re probably doing something wrong.

Good luck in your journey and enjoy your first foray into this wild and wooly world.

More TechCrunch

Where Aytac Yilmaz lives in the Netherlands, the sun might not appear for days on end, which can really crimp the output of the country’s solar panels. Wind turbines might…

Ore Energy emerges from stealth to build utility-scale batteries that last days, not hours

Paytm, a leading financial services firm in India, said its net loss widened in the fourth quarter as it grappled with a regulatory clampdown.

Paytm warns of job cuts as losses swell after RBI clampdown

Government officials and AI industry executives agreed on Tuesday to apply elementary safety measures in the fast-moving field and establish an international safety research network. Nearly six months after the…

In Seoul summit, heads of states and companies commit to AI safety

Copilot, Microsoft’s brand of generative AI, will soon be far more deeply integrated into the Windows 11 experience.

Microsoft wants to make Windows an AI operating system, launches Copilot+ PCs

Some startups choose to bootstrap from the beginning while others find themselves forced into self funding by a lack of investor interest or a business model that doesn’t fit traditional…

VCs wanted FarmboxRx to become a meal kit, the company bootstrapped instead

Uber and Lyft drivers in Minnesota will see higher pay thanks to a deal between the state and the country’s two largest ride-hailing companies. The upshot: a new law that…

Uber’s and Lyft’s ride-hailing deal with Minnesota comes at a cost

Andreessen Horowitz’s American Dynamism fund has established a new fellowship program aimed at introducing top engineers and technologists to venture investing, a move that could help the firm identify less…

a16z’s American Dynamism team launches program to introduce technical minds to VC

Another fintech startup, and its customers, has been gravely impacted by the implosion of banking-as-a-service startup Synapse. Copper Banking, a digital banking service aimed at teens, notified its customers on…

Teen fintech Copper had to abruptly discontinue its banking, debit products

Autodesk — the 3D tools behemoth — has acquired Wonder Dynamics, a startup that lets creators quickly and easily make complex characters and visual effects using AI-powered image analysis. The…

Autodesk acquires AI-powered VFX startup Wonder Dynamics

Farcaster, a blockchain-based social protocol founded by two Coinbase alumni, announced on Tuesday that it closed a $150 million fundraise. Led by Paradigm, the platform also raised money from a16z…

Farcaster, a crypto-based social network, raised $150M with just 80K daily users

Microsoft announced on Tuesday during its annual Build conference that it’s bringing “Windows Volumetric Apps” to Meta Quest headsets. The partnership will allow Microsoft to bring Windows 365 and local…

Microsoft’s new ‘Volumetric Apps’ for Quest headsets extend Windows apps into the 3D space

The spam reached Bluesky by first crossing over two other decentralized networks: Mastodon and Nostr.

The ‘vote Trump’ spam that hit Bluesky in May came from decentralized rival Nostr

Welcome to TechCrunch Fintech! This week, we’re looking at the continued fallout from Synapse’s bankruptcy, how Layer wants to disrupt SMB accounting, and much more! To get a roundup of…

There’s a real appetite for a fintech alternative to QuickBooks

The company is hoping to produce electricity at $13 per megawatt hour, which would be more than 50% cheaper than traditional onshore wind.

Bill Gates-backed wind startup AirLoom is raising $12M, filings reveal

Generative AI makes stuff up. It can be biased. Sometimes it spits out toxic text. So can it be “safe”? Rick Caccia, the CEO of WitnessAI, believes it can. “Securing…

WitnessAI is building guardrails for generative AI models

It’s not often that you hear about a seed round above $10 million. H, a startup based in Paris and previously known as Holistic AI, has announced a $220 million…

French AI startup H raises $220M seed round

Hey there, Series A to B startups with $35 million or less in funding — we’ve got an exciting opportunity that’s tailor-made for your growth journey! If you’re looking to…

Boost your startup’s growth with a ScaleUp package at TC Disrupt 2024

TikTok is pulling out all the stops to prevent its impending ban in the United States. Aside from initiating legal action against the U.S. government, that means shaping up its…

As a US ban looms, TikTok announces a $1M program for socially driven creators

Microsoft wants to put its Copilot everywhere. It’s only a matter of time before Microsoft renames its annual Build developer conference to Microsoft Copilot. Hopefully, some of those upcoming events…

Microsoft’s Power Automate no-code platform adds AI flows

Build is Microsoft’s largest developer conference and of course, it’s all about AI this year. So it’s no surprise that GitHub’s Copilot, GitHub’s “AI pair programming tool,” is taking center…

GitHub Copilot gets extensions

Microsoft wants to make its brand of generative AI more useful for teams — specifically teams across corporations and large enterprise organizations. This morning at its annual Build dev conference,…

Microsoft intros a Copilot for teams

Microsoft’s big focus at this year’s Build conference is generative AI. And to that end, the tech giant announced a series of updates to its platforms for building generative AI-powered…

Microsoft upgrades its AI app-building platforms

The U.K.’s data protection watchdog has closed an almost year-long investigation of Snap’s AI chatbot, My AI — saying it’s satisfied the social media firm has addressed concerns about risks…

UK data protection watchdog ends privacy probe of Snap’s GenAI chatbot, but warns industry

U.S. cell carrier Patriot Mobile experienced a data breach that included subscribers’ personal information, including full names, email addresses, home ZIP codes and account PINs, TechCrunch has learned. Patriot Mobile,…

Conservative cell carrier Patriot Mobile hit by data breach

It’s been three years since Spotify acquired live audio startup Betty Labs, and yet the music streaming service isn’t leveraging the technology to its fullest potential — at least not…

Spotify’s ‘Listening Party’ feature falls short of expectations

Alchemist Accelerator has a new pile of AI-forward companies demoing their wares today, if you care to watch, and the program itself is making some international moves into Tokyo and…

Alchemist’s latest batch puts AI to work as accelerator expands to Tokyo, Doha

“Late Pledge” allows campaign creators to continue collecting money even after the campaign has closed.

Kickstarter now lets you pledge after a campaign closes

Stack AI’s co-founders, Antoni Rosinol and Bernardo Aceituno, were PhD students at MIT wrapping up their degrees in 2022 just as large language models were becoming more mainstream. ChatGPT would…

Stack AI wants to make it easier to build AI-fueled workflows

Pinecone, the vector database startup founded by Edo Liberty, the former head of Amazon’s AI Labs, has long been at the forefront of helping businesses augment large language models (LLMs)…

Pinecone launches its serverless vector database out of preview

Young geothermal energy wells can be like budding prodigies, each brimming with potential to outshine their peers. But like people, most decline with age. In California, for example, the amount…

Special mud helps XGS Energy get more power out of geothermal wells