A Logos module that provides wallet functionality, including balance fetching and transaction management via the go-wallet-sdk.
- CMake 3.14 or later
- Qt 6 (or Qt 5)
- Go compiler (for building go-wallet-sdk)
- C++ compiler with C++17 support
# Initialize submodules
git submodule update --init --recursive
# Build the wallet library from go-wallet-sdk
./build_wallet_lib.sh
# Configure and build
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLOGOS_WALLET_MODULE_USE_VENDOR=ON
cmake --build . --target wallet_module_plugin# Build
nix build
# Enter development shell
nix developwallet_module_plugin.cpp/h- Main plugin implementationwallet_module_interface.h- Module interface definitionmetadata.json- Module metadatalib/- Contains the built wallet libraryvendor/- Vendored dependencies (logos-liblogos, logos-cpp-sdk, go-wallet-sdk)
The built plugin will be in build/modules/wallet_module_plugin.dylib (macOS) or build/modules/wallet_module_plugin.so (Linux).
The wallet module can be loaded by the Logos core system and provides wallet-related capabilities to applications.
- logos-liblogos - Core Logos library interface
- logos-cpp-sdk - C++ SDK for building Logos modules
- go-wallet-sdk - Go-based wallet SDK (compiled to C library)