mirror of
https://github.com/sparrowwallet/lark.git
synced 2026-06-18 15:25:45 +00:00
Bitcoin USB Hardware Wallet Interface library
- Java 100%
| gradle/wrapper | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
Lark
Lark is Java library for interacting with USB hardware wallets in Bitcoin related functions. The initial implementation is a port of the Python library HWI, but the library has since been extended to support additional functionality.
The following hardware wallets (for all models, unless specified) are supported:
- Coldcard
- Trezor
- Ledger
- BitBox02
- Jade
- Keepkey
- OneKey (Classic 1S and Pro)
Example usage
Lark lark = new Lark();
List<HardwareClient> clients = lark.enumerate();
for(HardwareClient client : clients) {
ExtendedKey xpub = lark.getPubKeyAtPath(client.getType(), client.getPath(), "m/84'/1'/0'");
}