What Makes a Cryptocurrency Open Source

A laptop displaying a code repository beside a notebook and maple leaf

A cryptocurrency project says its code is open. You visit its repository and find a wallet, a folder full of tests and a file called COPYING. Which one answers the question? The wallet shows you one way to use the network. The tests show what the developers expect the software to do. The licence tells you what you’re allowed to do with the code. Once you know where to look, you can check an open-source claim yourself without reading every line or running any of the software.

It also helps to ask whose software you’re looking at. On a website such as the online casino Spinanzia, the site’s own code and the core software of any cryptocurrency it might list would belong to separate projects. A payment page can tell you what a service accepts. The repository and its licence tell you what rights you have to a particular piece of software. That distinction matters whenever a wallet, exchange or other service uses a coin that has open-source code.

How to tell if a cryptocurrency is open source

When people call a cryptocurrency open source, they usually mean that one or more of the programs behind it are available under an open-source licence. The Open Source Initiative’s definition includes access to source code and permission to modify and redistribute the software under the licence’s terms. A repository can be publicly readable even when its author hasn’t granted those rights. The file that spells them out is often named LICENSE or COPYING.

Next, check which component the licence covers. A node program connects to peers and checks transactions and blocks against the rules it implements. A wallet helps people manage keys and sign transactions. One application can do both jobs, but projects can also publish the node and wallet separately. An explorer is another piece of software again. It displays network data and can be run by a separate operator.

Start with two questions. Which program can I inspect, and what does its licence let me do with it?

An open source cryptocurrency list to explore

Start with four examples whose core repositories identify the MIT licence. The projects share a familiar file layout, which makes them a good place to practise finding the licence, documentation and release history. Canada eCoin is a useful example because its eCoinCore repository and its Moonshine mobile wallet are published separately.

ProjectRepositoryLicenceWhat to look for
Canada eCoin (CDN)eCoinCoreMITThe description of the Volume 2 desktop client and its code origins
Bitcoin (BTC)Bitcoin CoreMITThe development notes and release tags
Litecoin (LTC)Litecoin CoreMITThe relationship between the core code and its graphical interface
Dogecoin (DOGE)Dogecoin CoreMITThe core software’s documentation and release notes

Open the Canada eCoin developer page to see how the project introduces its software. When you reach eCoinCore, look at the README. It credits the Bitcoin and Viacoin projects and identifies the licence. Then look at Moonshine and see how the README describes the mobile wallet’s own origins. Those are two different examples of how reused code can become part of a project.

What forks and releases tell you

A developer can fork a repository to work on a separate copy of its code. That can be as modest as preparing a documentation fix. A team can also build a distinct client from an existing project. In blockchain discussions, the word fork can also describe a split in network history or a change in protocol rules. When a README says the code came from another project, it’s describing where the software came from. You can look elsewhere in the documentation to learn which network a release belongs to.

The project’s main development branch is where work accumulates. A tag marks a specific version of the source, and a release may pair that version with installers or other downloads. The same repository can show unfinished work and older published versions side by side. Keep the version in view when comparing a change mentioned in a release note with code you find in the repository.

Where to lookWhat it tells youQuestion to ask
READMEThe job the software doesIs this the core client, a wallet or another tool?
Licence fileThe terms for using and sharing the codeDoes it cover the component I’m looking at?
Release notes and tagsWhich changes belong to a particular versionDoes the version match the one mentioned on the project site?
Issues and pull requestsWhat contributors are discussing or proposingHas the change been merged into a release yet?

How to check a repository for yourself

You can learn a lot from a read-only visit. Begin with the address published by the project, then look at the repository’s purpose and history. This gives you a record of what you checked if the page changes later or you come across a similarly named copy.

  1. Find the repository from the project’s site or developer documentation.
  2. Read the README to identify the component and any projects it builds on.
  3. Locate the licence file and note which part of the code it covers.
  4. Match the version you’re researching to its tag or release notes.
  5. Record the repository address and version so you can find them again.

Public code gives people a chance to examine a project. Questions about the project’s maintenance and a particular download each need their own evidence. Here are a few details worth looking for when you continue reading.

  • Published instructions for reporting a problem to the maintainers.
  • Release notes that explain what changed in plain language.
  • Checksums or signatures where the project provides them for downloads.
  • Tests for changes to transaction or block validation.
  • An explanation of who maintains the wallet if that work happens in another repository.

Use the exact repository and version when you tell someone what you found. They’ll then be able to follow your steps and see whether a licence or release has changed since you looked.

A project name points you in the right direction. A repository and version let someone repeat the check.

Once you’ve found the code, read the licence and identified a release, you can explain what open source means for that particular project. Try eCoinCore and the Moonshine wallet as a pair. Each README gives you a starting point, and each repository lets you trace a different part of the software. The same habit works with any project that publishes a claim about how its code can be used.

Sources

  • Open Source Initiative, The Open Source Definition
    https://opensource.org/osd
  • Canada eCoin, eCoinCore
    https://github.com/Canada-eCoin/eCoinCore
  • Canada eCoin, Moonshine mobile wallet
    https://github.com/Canada-eCoin/cdn-moonshine
  • Bitcoin Core
    https://github.com/bitcoin/bitcoin
  • Litecoin Core
    https://github.com/litecoin-project/litecoin
  • Dogecoin Core
    https://github.com/dogecoin/dogecoin