web3-ledgerhq-frame-connector
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

⚠️ DEPRECATION WARNING ⚠️

The ledger connector for web3-react is not maintained anymore.

The ledger connector for wagmi can be found in the reef-knot package and continues to be supported and developed there.

Ledger iframe connector

Connector for web3-react based on @ledgerhq/iframe-provider

Install

yarn add web3-ledgerhq-frame-connector

Arguments

Connector has the same arguments as IFrameEthereumProvider as well an optional supportedChainIds to support testnets, defaults to Ethereum Mainnet only.

new LedgerHQFrameConnector({
  targetOrigin?: string;
  timeoutMilliseconds?: number;
  supportedChainIds?: number[]
});

Example

import { LedgerHQFrameConnector } from 'web3-ledgerhq-frame-connector';

const LedgerHQFrame = new LedgerHQFrameConnector();

Readme

Keywords

none

Package Sidebar

Install

npm i web3-ledgerhq-frame-connector

Weekly Downloads

187

Version

1.2.0

License

MIT

Unpacked Size

39.6 kB

Total Files

13

Last publish

Collaborators

  • george-avs