Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

iotaledger/entangled

Repository files navigation

Notice

This repository is archived and split to separated repositories shown below:

  • iota_common: Common functions and crypto implementations.
  • iota.c: An IOTA Client library in C.
  • mam.c: A data communication protocol.
  • TangleScope: A program composed of metric collectors.

IOTA Entangled Monorepo

Build status

This is a monorepo containing all you need to get [IOTA] operating in C/C++

Containing IOTA components, models as well as cryptography primitives used in IOTA.

Content:

Component Description
[Tanglescope] A monitoring tool for the Tangle
[MAM] A low level implementation for MAM
[CIRI] (WIP) A low level implementation of IOTA node largely inspired by [IRI]
[CClient] A low level IOTA client implementation

Building

bazel test //...

Developing Entangled

  • Be sure to run ./tools/hooks/autohook.sh install after initial checkout!
  • Pass -c dbg for building with debug symbols.

Tools required for running git commit hook

  • buildifier
  • clang-format

Buildifier

Buildifier can be installed with bazel or go

Install with go

  1. change directory to $GOPATH
  2. run $ go get github.com/bazelbuild/buildtools/buildifier The executable file will be located under $GOPATH/bin
  3. make a soft link for global usage, run $ sudo ln -s $HOME/go/bin/buildifier /usr/bin/buildifier

Install with bazel

  1. clone bazelbuild/buildtools repository $ git clone https://github.com/bazelbuild/buildtools.git
  2. change directory to buildtools
  3. build it with bazel command, $ bazel build //buildifier The executable file will be located under path/to/buildtools/bazel-bin
  4. make a soft link

clang-format

clang-format can be installed by command:

  • Debian/Ubuntu based: $ sudo apt-get install clang-format
  • OSX: $ brew install clang-format

Contributors

thibault-martinez
thibault-martinez
tsvisabo
tsvisabo
th0br0
th0br0
oopsmonk
oopsmonk
ifullgaz
ifullgaz
HowJMay
HowJMay
jkrvivian
jkrvivian
rajivshah3
rajivshah3