@dfinity/identity-ledgerhq

JavaScript and TypeScript library to manage identity and authentication with the Internet Computer

Usage no npm install needed!

<script type="module">
  import dfinityIdentityLedgerhq from 'https://cdn.skypack.dev/@dfinity/identity-ledgerhq';
</script>

README

@dfinity/identity-ledgerhq

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.