Integration of Rust based libraries into Bisq 2 #2860
HenrikJannsen
started this conversation in
General
Replies: 1 comment 2 replies
-
In such a discussion people will naturally want to know whether the BDK ships its own JVM (JNI) library bindings. They do, and they're here: https://github.com/bitcoindevkit/bdk-ffi/tree/master/bdk-jvm. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the MuSig protocol [1] we will likely use the Rust based BDK library and likely some native C libraries for MuSig.
To avoid security risks for Bisq as well as to avoid new dependencies and complexity for the build system, we could run those as native applications and communicate via GRPC or TCP sockets [2] with the java desktop app. By that we can clearly limit the risk exposure to the network messages defined.
To have an independent Rust repository for that which integrates BDK, the C-native libs and the low level API for what we need, this project might become also attractive for other developers. This might be also a good option for attracting Rust developers to join.
[1] bisq-network/proposals#456
[2] Similar model is used for the webcam app
Beta Was this translation helpful? Give feedback.
All reactions