1. Wallets
  2. Ledger

Wallets

Ledger

Wallet module for connecting Ledger hardware wallets to web3-onboard

Install

Options

        interface LedgerOptions {
	chainId?: number;
	bridge?: string;
	infuraId?: string;
	rpc?: { [chainId: number]: string };
}

      

Usage

        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);

      

Build Environments

For build env configurations and setups please see the Build Env section here