2024-03-28 16:56:05 +02:00
2023-06-27 11:20:25 -05:00
2024-03-28 16:56:05 +02:00
2024-03-28 12:53:04 +02:00
2024-03-28 12:53:04 +02:00
2024-03-28 16:56:05 +02:00
2022-03-04 06:59:20 +01:00
2023-10-01 22:13:47 +03:00
2022-05-12 15:42:48 -05:00
2024-03-27 16:46:38 +02:00
2024-03-28 12:53:04 +02:00
2023-10-01 15:36:34 +03:00
2024-03-28 15:43:49 +02:00

wownero-ng

Wownero Next Generation™℗ is a version of Wownero that:

  • has modern CMake
  • is easier to compile (fewer dependencies)
  • installs as a library with a CMake config for easy consumption

Supported platforms:

  • Linux amd64
  • MacOS aarch64 (m1/m2/m3)

Install

Dependencies

MacOS:

brew install boost zeromq openssl libpgm libsodium expat libunwind-headers protobuf libgcrypt qrencode ccache cmake pkgconfig git rapidjson

Then install, on all platforms it is:

cmake -Bbuild .
make -Cbuild -j12
sudo make -Cbuild install 

wownero-ng will be installed to /usr/local/.

CMake hello world

Using Wownero in your project:

cmake_minimum_required(VERSION 3.25)
set(CMAKE_VERBOSE_MAKEFILE ON)

project(test)

set(CMAKE_CXX_STANDARD 17)

find_package(Wownero 11.1.0 REQUIRED)
add_executable(test main.cpp)

target_link_libraries(removeme PUBLIC wownero::mnemonics)
#include "mnemonics/electrum-words.h"
#include "mnemonics/language_base.h"

using namespace std;
int main() {
  vector<string> language_list;
  crypto::ElectrumWords::get_language_list(language_list);

  for(const auto &lang: language_list) {
    cout << lang << "\n";
  }
}

Static builds

Add -DSTATIC=1 to the cmake command, as well as:

  • -DOPENSSL_LIBRARIES=/usr/local/openssl/lib/
  • -DOPENSSL_ROOT_DIR=/usr/local/openssl
  • -DBOOST_ROOT=/usr/local

Note: you'll need these dependencies to be static too.

Description
No description provided
Readme Multiple Licenses 155 MiB
Languages
C++ 79%
C 15.9%
CMake 1.7%
Python 1.2%
Shell 0.8%
Other 1.3%