Skip to content

wharfkit/wallet-plugin-ledger

Repository files navigation

@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.

About

IN DEVELOPMENT - Wharf Kit Wallet Plugin to interact with Ledger devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •