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
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
- Please use Bazel:
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
- change directory to
$GOPATH
- run
$ go get github.com/bazelbuild/buildtools/buildifier
The executable file will be located under$GOPATH/bin
- make a soft link for global usage, run
$ sudo ln -s $HOME/go/bin/buildifier /usr/bin/buildifier
Install with bazel
- clone
bazelbuild/buildtools
repository$ git clone https://github.com/bazelbuild/buildtools.git
- change directory to
buildtools
- build it with bazel command,
$ bazel build //buildifier
The executable file will be located underpath/to/buildtools/bazel-bin
- 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 |
tsvisabo |
th0br0 |
oopsmonk |
ifullgaz |
---|---|---|---|---|
HowJMay |
jkrvivian |
rajivshah3 |