Open Source: What It Is and Why It's Critical for Bitcoin and Crypto

Cryptocurrencies rely on open-source code not only to function but also to build trust and transparency.

Updated Oct 6, 2022 at 5:49 p.m. UTC

Open-source code is code that is posted publicly online. Anyone is free to use the code for their own purposes, scrutinize it for bugs or propose new changes or features. Open-source code is the backbone for Bitcoin, Ethereum and the systems behind many other cryptocurrencies.

The idea of “open source” long predates cryptocurrency. The phrase caught on in the 1990s to describe the phenomenon of people posting code publicly on the internet. Though you may not realize it, a lot of what people do on the internet hinges on open source code. For instance, at least 37% of websites that people visit rely on Linux, the open-source operating system.

Open source is an essential ingredient in the Bitcoin and cryptocurrency realm, because like cryptocurrencies, open source is "decentralized," meaning there's no single leader or entity in charge of it. Cryptocurrencies need a decentralized way of managing the codebase, where it's public for everyone to view, change and even try out for themselves.

Open source is the opposite of proprietary code, where a company owns the code and keeps it private to make sure others – especially competitors – can't copy their innovations. Proprietary code is centralized under the control of one company or entity. Windows and Apple’s mobile iOS are prime examples.

Why is open-source code necessary in cryptocurrency?

Bitcoin and most major cryptocurrencies are decentralized, meaning they don't have a leader that can stop certain transactions or control the network. Users who custody their own bitcoin have full control over it, unlike today's major online financial systems where the only option for people is to trust third parties, such as banks, with their money.

To achieve the goal of removing the middleman while maintaining trust, Bitcoin needs to rely on a decentralized method of distributing the code. There can't be just one leader ruling over it because A) the leader could write any instructions they want in the code, and B) the leader could decide who is allowed to access the code and who isn't.

Open source in Bitcoin is important for a number of reasons:

  • Anyone can run it: Because the code is public, anyone can download the Bitcoin software and run it for themselves – no permission from a company or government needed.
  • Verifiability: Outside developers can scan the software and verify that the code actually does what the project's developers say it does.
  • Security: Open source can lead to stronger security. Since more people can analyze the code than with proprietary code, openness can lead to more secure, battle-tested code.
  • Encourages project evolution: Anyone who's interested in adding their own features can propose adding them to the project. In Bitcoin, this is done through BIPS.
  • Allows efficient spin-offs: If the project's maintainers reject a developer's change for whatever reason, and the developer disagrees with this, the developer can "fork" (or create a copy of) the program code so that they can build their own project. Many cryptocurrencies modeled off of Bitcoin have done this, such as Litecoin.

Where is open source used in Bitcoin and Ethereum?

Open source is everywhere in the crypto universe, but let's focus on how the two biggest blockchains employ open source.

This trend of open code started when Bitcoin's pseudonymous and mysterious creator Satoshi Nakamoto released version 0.1 of the Bitcoin code – now known as Bitcoin Core – in open-source form on a cryptography mailing list on Jan. 8, 2009.

Since Nakamoto's release, Bitcoin Core has blossomed from a one-man project into a battle-tested codebase that developers from around the world contribute to full time. Because of the nature of open source, anyone who has the skills can contribute to the software. Since August 2009 more than 100 developers have contributed to Bitcoin Core, according to code hosting website GitHub, where the open-source code is published.

Hundreds of other open-source projects are built on top of this underlying infrastructure, from wallets like Electrum, where users store their Bitcoin private keys, to block explorers.

That's just the tip of the iceberg. Today there are hundreds of other projects with cryptocurrencies modeled off of Bitcoin, most of which also share their code publicly.

The second-largest blockchain, Ethereum, is made up of its own flourishing ecosystem of projects, from low-level clients underpinning the network to decentralized apps (commonly known as dapps) running on top of it. The ERC-721 token standard was created to support the unique structure of non-fungible tokens (NFT) that huge projects like the Bored Ape Yacht Club uses.

Ethereum's team is trying to take Bitcoin's goal to decentralize money one step further: It wants to decentralize everything on the Internet. Because most apps are controlled by one company, such as Twitter or Facebook, the goal of decentralized apps is to hand users more control of their data. So far hundreds of these apps have cropped up. Because they are all powered by open source, anyone can make their own app or contribute to one.

Crypto's deep-seated open-source nature has spawned thousands of projects, allowing widespread experimentation in the industry, and will continue fostering innovation and new technologies in the future.

This article was originally published on Oct 6, 2022 at 1:49 p.m. UTC

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Alyssa Hertig

Alyssa Hertig is a programmer and journalist specializing in Bitcoin and the Lightning Network. She's currently writing a book exploring the ins and outs of Bitcoin governance. Alyssa owns some BTC.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.