mirror of
https://github.com/wharfkit/wallet-plugin-ledger.git
synced 2026-07-21 08:02:08 +00:00
master
Added a development warning to the README file.
@wharfkit/wallet-plugin-ledger
A Ledger hardware wallet plugin for use within the @wharfkit/session library.
IN DEVELOPMENT
We do not recommend using this plugin at this time.
Overview
This plugin allows users to interact with their Ledger hardware wallet to sign transactions on supported blockchains. It supports various connection methods including WebUSB, WebHID, WebBLE, and node-hid (for Node.js environments).
Features
- Connect to Ledger devices using multiple transport methods (WebUSB, WebHID, WebBLE)
- Support for EOSIO-based blockchains
- Secure transaction signing with Ledger hardware devices
- Compatible with @wharfkit/session
Usage
import { SessionKit } from '@wharfkit/session'
import { WalletPluginLedger } from '@wharfkit/wallet-plugin-ledger'
// Create a new SessionKit with the Ledger wallet plugin
const kit = new SessionKit({
appName: 'My App',
chains: [...],
walletPlugins: [
new WalletPluginLedger()
]
})
// Login with Ledger
const { session } = await kit.login()
// Sign transactions
const result = await session.transact(...)
Developing
You need Make, node.js and yarn installed.
Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.
Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.
Description
IN DEVELOPMENT - Wharf Kit Wallet Plugin to interact with Ledger devices
Languages
TypeScript
78.7%
JavaScript
13.5%
Makefile
7.8%