https://github.com/eddytheco/esterv.crypto.block
https://github.com/eddytheco/esterv.crypto.block
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eddytheco/esterv.crypto.block
- Owner: EddyTheCo
- License: gpl-3.0
- Created: 2022-11-26T17:56:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T06:53:45.000Z (10 months ago)
- Last Synced: 2024-08-10T08:15:03.641Z (10 months ago)
- Language: C++
- Homepage: https://eddytheco.github.io/Esterv.Crypto.Block/
- Size: 171 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generalization of the Tangle transaction concept
[TOC]
This repo implements a library for working with IOTA blocks according to this [TIP](https://github.com/iotaledger/tips/blob/main/tips/TIP-0024/tip-0024.md).
## Installing the library
### From source code
```
git clone https://github.com/EddyTheCo/Qblock-IOTA.gitmkdir build
cd build
qt-cmake -G Ninja -DCMAKE_INSTALL_PREFIX=installDir -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DBUILD_DOCS=OFF ../Qblock-IOTAcmake --build .
cmake --install .
```
where `installDir` is the installation path.
One can choose to build or not the tests and the documentation with the `BUILD_TESTING` and `BUILD_DOCS` variables.### From GitHub releases
Download the releases from this repo.## Adding the libraries to your CMake project
```CMake
include(FetchContent)
FetchContent_Declare(
QtIotaBlock
GIT_REPOSITORY https://github.com/EddyTheCo/Qblock-IOTA.git
GIT_TAG vMAJOR.MINOR.PATCH
FIND_PACKAGE_ARGS MAJOR.MINOR CONFIG
)
FetchContent_MakeAvailable(QtIotaBlock)
target_link_libraries( QtIotaBlock::qblock)
```## API reference
You can read the [API reference](https://eddytheco.github.io/Qblock-IOTA/), or generate it yourself like
```
cmake -DBUILD_DOCS=ON ../
cmake --build . --target doxygen_docs
```## Contributing
We appreciate any contribution!
You can open an issue or request a feature.
You can open a PR to the `develop` branch and the CI/CD will take care of the rest.
Make sure to acknowledge your work, and ideas when contributing.