Skip to content
privkeyioPublic
forked from sparrowwallet/lark

About

Bitcoin USB hardware wallet interface library, with the unified opt-in signature hash on the Trezor path. Fork of lark, not audited.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

176 Commits

Folders and files

Repository files navigation

Lark, for Shrike

An unofficial fork of Lark, the hardware wallet library Shrike uses. It asks a Trezor running the unified opt-in signature hash firmware for that hash type, and refuses the opt-in where the device cannot honor it. It is not affiliated with the Sparrow project.

Not audited. Use at your own risk, and no warranty of any kind, see the Apache 2.0 license. Everything below the divider is upstream's documentation and describes Lark rather than this fork.


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

About

Bitcoin USB hardware wallet interface library, with the unified opt-in signature hash on the Trezor path. Fork of lark, not audited.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages