cashu-Lib
implements the core functionalities of the Cashu protocol, and provides the building blocks for cashu-mint and cashu-wallet.
$ java -version
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-Ubuntu-123.10.1)
OpenJDK 64-Bit Server VM (build 21.0.2+13-Ubuntu-123.10.1, mixed mode, sharing)
$ mvn -version
Apache Maven 3.8.7
Maven home: /usr/share/maven
Java version: 21.0.2, vendor: Private Build, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "6.5.0-28-generic", arch: "amd64", family: "unix"
$ cd <your_git_home_dir>
$ git clone /~https://github.com/tcheeric/cashu-lib.git
$ cd cashu-lib
$ mvn clean install
cashu-lib-common:
Contains common entity classes and utilities used by other modules.cashu-lib-crypto:
Contains the foundational cryptographic functions and utilities used by other modules.cashu-lib-gateway:
Contains interfaces for payment gateways that interact with the cashu mints and wallets.cashu-lib-test:
Contains unit test classes.
Include the following dependencies in your project's pom.xml file:
<dependency>
<groupId>cashu-lib</groupId>
<artifactId>cashu-lib-common</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cashu-lib</groupId>
<artifactId>cashu-lib-crypto</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
- Add more unit tests.
- Configure JaCoCo for code coverage.
This project is licensed under the MIT License - see the LICENSE.md file for details
This project is a work in progress and is not yet ready for production use. Use at your own risk.