Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
234 lines (147 sloc) 10.4 KB

Prototype node software for an IOTA network without the Coordinator

Developer documentation portal

Discord StackExchange Apache 2.0 license Go version Build status Latest release

AboutDesignImplemented Coordicide modulesWork-in-progress modulesInstallationGetting startedClient library and HTTP API referenceSupporting the projectJoining the discussion


This repository is where the IOTA Foundation's Research Department runs simulations of the Coordicide modules to study and evaluate their performance.

The aim of this open repository is to give the community the opportunity to follow developments, take part in testing, and learn more about Coordicide.

Note: You can find details about future development plans in our roadmap.


The code in GoShimmer is modular, where each module represents either one of the Coordicide components or a basic node function such as the gossip layer, ledger state, and API.

Coordicide blueprint

This approach allows us to develop each module in parallel and to test GoShimmer with one or more different versions.

Each module is defined in the packages directory and can be enabled, using the plugins directory.

Note: See the main.go file to see which plugins are currently supported.

Implemented Coordicide modules

The master branch is the stable version of the GoShimmer software, which includes a minimal set of modules to allow you to send and gossip zero-value transactions.

The master branch includes the following Coordicide modules:

The autopeering module is divided into two submodules:

  • Peer discovery: Responsible for operations such as discovering new peers and verifying their online status

  • Neighbor selection: Responsible for finding and managing neighbors

Autopeering design

We also have a standalone autopeering simulator in this repository.

Work-in-progress modules

Work-in-progress modules are typically kept on a different branch such as mana, and are not compatible with the master branch. Therefore, nodes that run these branches cannot join the current network because the code either is still too experimental or it includes breaking changes.

The following Coordicide modules are a work in progress:

  • Mana: The mana branch contains a first implementation of the mana module in the packages directory.

  • Cellular Consensus: The ca branch contains a first implementation of the Cellular Consensus module in the packages directory.

  • Fast Probabilistic Consensus: The fpc branch contains a first implementation of the Fast Probabilistic Consensus module in the packages directory. We also have a standalone FPC simulator in this repository.

  • Spam Protection: You can find the initial simulation source code of the rate control in this repository and the source code of the Adaptive Proof of Work simulator here.

As well as these modules, we are working on the following node functions:

Client library and HTTP API reference

You can use the Go client library to interact with GoShimmer (located under

Alternatively, you can see the API docs for the available HTTP API endpoints. Or, to generate code samples, you can use the OAS/Swagger specification file.


You have two options to install and run GoShimmer:

  • Use the precompiled executable file
  • Compile the code from source

Executing the precompiled executable file

The release page includes downloadable files for Linux, macOS, and Windows.

To run the node, all you need to do is download and execute one of these files, depending on your operating system.

# Linux and macOS
# Windows

Compiling the code from source

If you want to build your own executable file, you need to follow these steps.


To complete this guide, you need to have at least version 1.13 of Go installed on your device.

To check if you have Go installed, run the following command:

go version

If Go is installed, you should see the version that's installed.

  1. Clone the repository

    git clone
  2. Change into the goshimmer directory

  3. Use one of the following commands to build your executable file, depending on your operating system

    # Linux and macOS
    go build -o goshimmer
    # Windows
    go build -o  goshimmer.exe

    Note: If you're using Windows PowerShell, enclose goshimmer.exe in single quotation marks. For example: go build -o 'goshimmer.exe'.

Getting started

When you first run GoShimmer, the node starts running and tries to connects to neighbors, using the autopeering module.

To run other modules such as the spammer or the Glumb visualizer graph, you can configure GoShimmer to enable them through plugins.

Note: For a list of all the available configuration parameters, you can run the following command:

# Linux and macOS
./goshimmer -help
# Windows
goshimmer.exe -help

You can configure GoShimmer in the following ways:

  • Use a configuration file called config.json
  • Use command-line options

The repository includes a config.json file, which the executable file will find and use when you execute it.

To use the command line, execute the file with one of the following commands, depending on your operating system

# Linux and macOS
./goshimmer --node.enablePlugins "spammer"
# Windows
goshimmer.exe --node.enablePlugins "spammer"

Here, we use the command-line flags to enable the spammer plugin. This plugin allows you to send spam transactions to your node.

Configuring the dashboard

GoShimmer has a dashboard that displays the current TPS, memory usage, neighbors and a Tangle explorer.

You can change the dashboard configuration (e.g, bind address, port) under the dashboard section of the config.json file. For example, by changing the bind address to, you can enable remote access to the dashboard.

To access the dashboard, you can use your browser (the default address is


Installing the Glumb visualizer

The Glumb visualizer allows you to view the transactions in the network, using a web browser.

  1. Enable the graph plugin either in your config.json file or in the command line (--node.enablePlugins=["graph"])

  2. If you're running GoShimmer with the precompiled executable file, do the following in the goshimmer directory:

    git clone
    // only this version seems to be stable
    cd IOTAtangle && git reset --hard 07bba77a296a2d06277cdae56aa963abeeb5f66e 
    cd ../
    git clone
  3. If you built the code from source, do the following in the goshimmer directory:

    git submodule init
    git submodule update

To open the visualizer, run GoShimmer, and go to in a web browser.

Supporting the project

If you want to contribute to the code, consider posting a bug report, feature request or a pull request.

See the contributing guidelines for more information.

Joining the discussion

If you want to get involved in the community, need help getting started, have any issues related to the repository or just want to discuss blockchain, distributed ledgers, and IoT with other people, feel free to join our Discord.

You can’t perform that action at this time.