Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

LedgerHQ/web3-onboard-ledgerconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ledgerhq/web3-onboard-ledgerconnect

This wallet module for web3-onboard allows you to connect your dapp to the Ledger Connect browser extension.

Install

Add it to your dapp along with web3-onboard with

yarn add @web3-onboard/core
yarn add @ledgerhq/web3-onboard-ledgerconnect

Usage

import Onboard from '@web3-onboard/core'
import ledgerConnectModule from '@ledgerhq/web3-onboard-ledgerconnect'

const ledgerConnect = ledgerConnectModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    ledgerConnect
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published