2019-07-10 17:38:07 -04:00
2019-07-08 10:29:18 -04:00
2019-07-10 12:18:48 -04:00
2019-05-26 19:04:33 -04:00
2019-05-26 18:24:25 -04:00
2019-06-07 14:49:23 -04:00
2019-07-10 12:34:02 -04:00
2019-07-10 10:54:45 -04:00

Monero C++ Library

This project is a lightweight wrapper of Monero Core's C++ wallet, wallet2, which conforms to the specification defined here.

The purpose of this library is to define common daemon and wallet types for a general-purpose Monero API which focuses on ease-of-use.

This library may be used to build Monero-related GUI applications, libraries in other languages (e.g. monero-java), or a conformant REST/JSON-RPC API.

Building a Dynamic / Shared Library

The source code in this project may be built as a dynamic or "shared" library for use on a target platform (e.g. Linux, Mac, Windows, etc). For example, the associated Java library depends on a dynamic library built from this project to support a wallet using JNI.

Build Steps

  1. Download the boost source code to ./external/boost-sdk
  2. Download the OpenSSL source code to ./external/openssl-sdk
  3. Build dependent libraries (boost, hidapi, libsodium, monero-core, and OpenSSL) and place .a files in corresponding folders in ./external-libs per CMakeLists.txt.
    • Monero Core: Modify CMakeLists.txt: option(BUILD_GUI_DEPS "Build GUI dependencies." ON). Build twice to create libwallet_merged.a.
    • Todo: document/automate further
  4. Build libmonero-cpp.dylib to ./build: ./bin/build-libmonero-cpp.sh

See Also

Java reference implementation

JavaScript reference implementation

License

This project is licensed under MIT.

Donate

Please consider donating if you want to support this project. Thank you!

46FR1GKVqFNQnDiFkH7AuzbUBrGQwz2VdaXTDD4jcjRE8YkkoTYTmZ2Vohsz9gLSqkj5EM6ai9Q7sBoX4FPPYJdGKQQXPVz

S
Description
Mirror of github.com/wownero/wownero-cpp
Readme
4.6 MiB
Languages
C++ 98.3%
CMake 1.2%
Shell 0.5%