lark/README.md
2025-02-26 14:21:15 +02:00

692 B

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'");
}