Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wavesplatform/waves-c
C library for working with Waves
https://github.com/wavesplatform/waves-c
Last synced: 26 days ago
JSON representation
C library for working with Waves
- Host: GitHub
- URL: https://github.com/wavesplatform/waves-c
- Owner: wavesplatform
- License: apache-2.0
- Created: 2018-04-18T16:39:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T12:00:19.000Z (about 5 years ago)
- Last Synced: 2024-04-15T00:16:49.473Z (8 months ago)
- Language: C
- Size: 1.46 MB
- Stars: 8
- Watchers: 14
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-waves - waves-c - C library to work with Waves. (Frameworks and tools / Client libraries)
README
# waves-c [![Build Status](https://travis-ci.org/wavesplatform/waves-c.svg?branch=master)](https://travis-ci.org/wavesplatform/waves-c)
C library for working with Waves.
## Building
This package uses CMake version 3.9 (or newer) for building and it depends on development package of OpenSSL version 1.1 (or newer).
To build it on **Linux**, install the OpenSSL 1.1 development package (usually called something like `openssl-dev`), then run the following commands:
```
cmake .
make
```On **macOS**, [install OpenSSL using brew](http://brewformulas.org/Openssl), then pass the OpenSSL root directory path as a CMake parameter as follows:
```
brew install [email protected]
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected] .
make
```### Packaging
By default, the CMake configuration enables all supported CPack generators. Check out the `CPACK_GENERATOR` option for the list of supported CPack generators (see `src/CMakeLists.txt`). CPack generator can be overridden as follows:
```
cmake -DCPACK_GENERATOR=RPM .
```## Installing
If there is no suitable CPack generator in the `CPACK_GENERATOR` list, then the only option is running `make install`.
## Quick Start
For a quick start, we took the [bcdev's waves_vanity source code](https://github.com/bcdev-/waves_vanity) as a basis. Thanks to bcdev for providing that!