The core crypto library ported from mSIGNA for managing bitcoin data structures.
conan package name: CoinCore/0.2.0@joystream/stable
This library, has immediate dependencies
- Boost
- OpenSSL
and they are managed using Conan, a platform and build system agnostic C++ package manager.
When working with a local copy of the sources, the simplest way is to export the package to the testing channel, CoinCore/0.0.0@joystream/testing
. Inside the conan_package/
directory, run the test_package command, this will export and do a test build of the package:
conan test_package
Next we need to install the library and it's dependencies into our consuming project. Move into the example/
directory and run:
conan install ./ --build=missing
This will produce an appropriate conanbuildinfo.cmake
file, used in the building of the library itself, which is used in the example
project CMakeLists.txt to find the library. Now we can build our project:
cmake .
cmake --build .
And finally run the built example:
bin/keygen