thibault-martinez / iota.lib.cpp

IOTA C++ Library
MIT License
79 stars 21 forks source link
api cryptocurrency internet-of-things iota iota-library tangle

IOTA Logo

IOTA C++ Library

Travis Build Status Appveyor Build Status Coveralls Status [![Codacy Status][codacy-badge]][codacy] [![CodeFactor Status][codefactor-badge]][codefactor] Documentation [![IOTA API coverage][iota-api-badge]][iota-api] ![MIT License][license-badge]

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

Documentation

Installation

git clone --recursive git@github.com: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

[codacy]: https://www.codacy.com/app/thibault.martinez.30/iota.lib.cpp?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=thibault-martinez/iota.lib.cpp&amp;utm_campaign=Badge_Grade [codacy-badge]: https://api.codacy.com/project/badge/Grade/a7c3070bcf4f4bc2bfff8f266208634a

[codefactor]: https://www.codefactor.io/repository/github/thibault-martinez/iota.lib.cpp [codefactor-badge]: https://www.codefactor.io/repository/github/thibault-martinez/iota.lib.cpp/badge

[iota-api]: https://iota.readme.io/reference [iota-api-badge]: https://img.shields.io/badge/IOTA%20API%20coverage-15/15%20commands-green.svg

[license-badge]: https://img.shields.io/apm/l/vim-mode.svg