LONDON — A company in Slovenia that mines bitcoin says it has been hacked, for a potential loss of tens of millions of dollars.

The company, NiceHash, gives customers the ability to mine for bitcoins. As the price of the world’s most popular virtual currency keeps surging — to a record $15,000 on Thursday — here’s a look at what it is and how it is “mined.”


WHAT IS A BITCOIN?

Bitcoin is a digital currency that’s not tied to any bank or government. Like cash, it lets users spend or receive money anonymously, or mostly so; like other online payment services, it also lets them do so over the internet. There are several other virtual currencies, such as ethereum, but bitcoin is the most popular.

Bitcoins are basically lines of computer code that are digitally signed each time they travel from one owner to the next. Transactions can be made anonymously, making the currency popular with libertarians as well as tech enthusiasts, speculators — and criminals.


HOW IS A BITCOIN MINED?

Tech-savvy users called “miners” use their computers to make complex calculations that verify transactions in bitcoins. This so-called blockchain is a global running tally of every bitcoin transaction. The miners receive bitcoins in exchange according to a set of established rules. In this way, the bitcoin network harnesses individuals’ greed for the collective good.

NiceHash, the company that got hacked, made a business from matching people with spare computing power to those wanting to mine bitcoin.


HOW ARE BITCOINS KEPT SECURE?

Because the tally of bitcoin transactions, or blockchain, is verified constantly by a network of miners, rogues cannot spend the same bitcoin twice. As long as miners keep the blockchain secure, counterfeiting shouldn’t be an issue.


HOW DID BITCOIN COME TO BE?

It’s a mystery. Bitcoin was launched in 2009 by a person or group of people operating under the name Satoshi Nakamoto. Bitcoin was then adopted by a small clutch of enthusiasts. Nakamoto dropped off the map as bitcoin began to attract widespread attention. But proponents say that doesn’t matter: The currency obeys its own internal logic.

SHARE
Author photo
The Associated Press
The AP is one of the largest and most trusted sources of independent newsgathering. AP is neither privately owned nor government-funded; instead, as a not-for-profit news cooperative owned by its American newspaper and broadcast members, it can maintain its single-minded focus on newsgathering and its commitment to the highest standards of objective, accurate journalism.