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
# Add the following dependencies to your cargo.toml and replace {VERSION} with the version number you want to use.
17
+
18
+
[dependencies]
19
+
lightning = { version = {VERSION}, features = ["max_level_trace"] }
20
+
lightning-block-sync = { version = {VERSION}, features = [ "rpc-client" ] }
21
+
lightning-invoice = { version = {VERSION} }
22
+
lightning-net-tokio = { version = {VERSION} }
23
+
lightning-persister = { version = {VERSION} }
24
+
lightning-background-processor = { version = {VERSION} }
25
+
lightning-rapid-gossip-sync = { version = {VERSION} }
26
+
```
27
+
28
+
</template>
29
+
30
+
<templatev-slot:java>
31
+
32
32
```xml
33
-
<!--
34
-
For Maven, add the following dependency to your POM and replace {VERSION} with the
35
-
version number you want to use.
36
-
-->
33
+
<!--
34
+
For Maven, add the following dependency to your POM and replace {VERSION} with the
35
+
version number you want to use.
36
+
-->
37
37
38
38
<dependency>
39
39
<groupId>org.lightningdevkit</groupId>
@@ -42,7 +42,7 @@ version number you want to use.
42
42
</dependency>
43
43
```
44
44
45
-
```kotlin
45
+
```kotlin
46
46
/*
47
47
For Gradle, add the following dependency to your build.gradle and replace {VERSION} with
48
48
the version number you want to use.
@@ -54,57 +54,69 @@ dependencies {
54
54
// ...
55
55
}
56
56
```
57
-
:::
58
-
::: tab Kotlin
59
-
```kotlin
60
-
/* To include the LDK Kotlin bindings in an Android project download the latest binary from https://github.com/lightningdevkit/ldk-garbagecollected/releases and place it in your libs directory.
/* To include the LDK Kotlin bindings in an Android project download the latest binary from https://github.com/lightningdevkit/ldk-garbagecollected/releases and place it in your libs directory.
0 commit comments