Wallets
Ledger
Wallet module for connecting Ledger hardware wallets to web3-onboard
Install
- Yarn
 - Npm
 
Options
Usage
Build Environments
For build env configurations and setups please see the Build Env section here
Wallets
Wallet module for connecting Ledger hardware wallets to web3-onboard
        yarn add @web3-onboard/core @web3-onboard/ledger
              npm install @web3-onboard/core @web3-onboard/ledger
              interface LedgerOptions {
  chainId?: number
  bridge?: string
  infuraId?: string
  rpc?: { [chainId: number]: string }
}
              import Onboard from '@web3-onboard/core'
import ledgerModule from '@web3-onboard/ledger'
const ledger = ledgerModule()
const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    ledger
    //... other wallets
  ]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)
      For build env configurations and setups please see the Build Env section here