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

1.1.0 • Public • Published

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

228

Version

1.1.0

License

MIT

Unpacked Size

39.3 kB

Total Files

13

Last publish

Collaborators

  • george-avs