uMlando-wallet
Lightning Dev Kit Android Demo Wallet
This project uses a .aar package for the Android platforms that provide language bindings for the LDK. The Kotlin language bindings are created by the ldk-garbagecollected project and the latest release can be found here.
How to use
To include the LDK Kotlin bindings in an Android project download the latest binary from here and place it in your libs
directory.
Then add to your build.gradle
file:
dependencies {
// ...
implementation fileTree(include: ['*.aar'], dir: 'libs')
// ...
}
You may then import and use the org.ldk
library in your Kotlin code. For example:
import org.ldk.structs.*
Note: i686 builds are not included in aars in order to preserve space - there are builds for x86_64, so make sure to install a compatible emulator
Features
- Connect to a peer
- List peers
- Get Node ID