@dfinity/identity-ledgerhq
warning
This package has been deprecated. Please use the @zondax/ledger-icp
package instead.
TypeScript library to support a Hardware Ledger Wallet identity for applications on the Internet Computer.
Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.
Installation
Using authentication:
npm i --save @dfinity/identity-ledgerhq
In the browser:
import { LedgerIdentity } from '@dfinity/identity-ledgerhq';
const identity = await LedgerIdentity.create();
const agent = new HttpAgent({ identity });
Note: depends on @dfinity/agent and
@dfinity/identity.