You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-28
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
LDK Java and TypeScript Bindings
2
-
================================
1
+
LDK Java, C#, and TypeScript Bindings
2
+
=====================================
3
3
4
-
This repo contains an autogeneration system to generate LDK bindings for garbage-collected languages, currently including Java and TypeScript. See below for the current status of the bindings.
4
+
This repo contains an autogeneration system to generate LDK bindings for garbage-collected languages, currently including Java, C#, and TypeScript. See below for the current status of the bindings.
5
5
6
6
The auto-generated code contains copies of the Rust documentation, which can also be viewed at
7
7
[docs.rs/lightning](https://docs.rs/lightning). High-level documentation of the API can be found at
@@ -10,31 +10,13 @@ The auto-generated code contains copies of the Rust documentation, which can als
10
10
Building
11
11
========
12
12
13
-
A release build of the Java bindings library for Linux is available in git. Thus, the bindings should work as long as the `LD_LIBRARY_PATH` includes the top-level directory of this repository.
14
-
15
-
To build the bindings locally, the bindings require some additional work which is still making its
16
-
way upstream, for now it should be built against the
17
-
[rust-lightning 2022-10-112-java-bindings branch on git.bitcoin.ninja](https://git.bitcoin.ninja/?p=rust-lightning;a=shortlog;h=refs/heads/2022-10-112-java-bindings).
18
-
Check that branch out locally as well as [ldk-c-bindings](https://github.com/lightningdevkit/ldk-c-bindings)
19
-
and run the `genbindings.sh` script in ldk-c-bindings to build the required binaries. Thereafter,
20
-
in this repo, run the `genbindings.sh` script with the first argument pointing to the ldk-c-bindings
21
-
directory, the second the relevant JNI CFLAGS, the third argument set to `true` or `false` to
22
-
indicate whether building in debug mode, and the third set to true or false to indicate if the
23
-
bindings should be built with workarounds required for Android. JNI CFLAGS on debian are likely
0 commit comments