:zap: Java framework for C-Lightning to work with the RPC interface, and also the library simplifies the work to develop custom plugins with Java, Kotlin, and all the languages that supports the Java dependencies :zap:
When I start this project I taken some decisions that today I will never take again, some of them are:
Use a singleton instance, this break the possibility to use DI library with the class
Create the java version of each command, (I should be used the reflection to make the job)
Divided the library into two modules, one is the RPC module with all the RPC calls and JSON calls, and the other one is the plugin module and will create an internal instance of the RPC class.
Avoid mixing the structured class with a generic method like rawCall, I would like to have a different class, like LiteCLightningRpc(rpc_path), and ClightninRPC(rpc_path).
I would like to implement some of these changes, like
When I start this project I taken some decisions that today I will never take again, some of them are:
rawCall
, I would like to have a different class, like LiteCLightningRpc(rpc_path), and ClightninRPC(rpc_path).I would like to implement some of these changes, like
LiteClightningRpc(rpc_path)
as first, that implements an interface like the lite-bitcoin-rpc. Deadline version 0.2.3 https://github.com/clightning4j/JRPClightning/issues/62