Skip to content

thibault-martinez/iota.lib.cpp

Repository files navigation

IOTA Logo

IOTA C++ Library

Travis Build Status Appveyor Build Status Coveralls Status Codacy Status CodeFactor Status Documentation IOTA API coverage MIT License

This is not (yet) an official C++ client library for the IOTA Reference Implementation (IRI).

It implements both the official API, as well as newly proposed features.

Table of Contents

  1. Disclaimer
  2. Documentation
    1. Installation
    2. Getting Started
    3. Doxygen
    4. Wiki
    5. Examples
  3. Technologies, tools & dependencies
    1. Technologies
    2. Dependencies
  4. Community
    1. Resources
    2. Contributing
    3. Donating

Disclaimer

  • This is an early beta release, expect unexpected results.
  • There may be performance and stability issues.
  • This library is still in early development and there may be breaking changes in the near future.
  • You may lose all your money.

Documentation

Installation

git clone --recursive [email protected]:thibault-martinez/iota.lib.cpp.git
cd iota.lib.cpp
mkdir build
cd build
cmake ..
make

Getting Started

IOTA::API::Core api("node.iotawallet.info", 14265);
auto            res = api.getTransactionsToApprove(27);

std::cout << res.getTrunkTransaction() << std::endl;
std::cout << res.getBranchTransaction() << std::endl;

Doxygen

A Doxygen documentation is available and provides full API documentation for the library.

Wiki

A Wiki is available and provides full documentation for the library as well as installation explanations.

Examples

There's an extensive list of test cases on the test folder that can be used as reference when developing apps with IOTA.

Technologies, tools & dependencies

Technologies

This library currently uses C++11.

Tools

Dependencies

Community

Resources

If you want to get involved in the community, need help with getting setup, have any issues related with the library or just want to discuss Blockchain, Distributed Ledgers and IoT with other people, feel free to visit one of our resources :

Contributing

Please report any issues using the Issue Tracker.

Donating

OZCTDHTFCB9PTAZWGYCGOA9XKDKPSHWVSZDJKZCOINNQTPNNEANGPBBDLSNGKDGCAAKBDVBOVCPTRLHTANMIRGFFGD