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] (WIP) | A low level IOTA client implementation |
- Please use Bazel:
bazel test //...
- Be sure to run
./hooks/autohook.sh install
after initial checkout! - Pass
-c dbg
for building with debug symbols.
- buildifier
- clang-format
Buildifier can be installed with bazel
or 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
- 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 can be installed by command:
- Debian/Ubuntu based:
$ sudo apt-get install clang-format
- OSX:
$ brew install clang-format