> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dfns.co/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript SDK (browser)

> Client-side Dfns SDK for passkey signing in web applications, with login, registration, request signing, and delegated wallet support.

The `@dfns/sdk-browser` package provides passkey-based signing for web applications. It handles WebAuthn interactions so users can authorize Dfns operations using biometrics or security keys.

You can find the repository [here](https://github.com/dfns/dfns-sdk-ts).

## Installation

```bash theme={null}
npm i @dfns/sdk-browser
```

## Quick start

```ts theme={null}
import { WebAuthnSigner } from '@dfns/sdk-browser'

const signer = new WebAuthnSigner({
  relyingParty: { id: 'acme.com', name: 'Acme' },
})

// Register a new passkey (during user onboarding)
const attestation = await signer.create(challenge)

// Sign a user action challenge (during operations)
const assertion = await signer.sign(challenge)
```

## Next steps

* **[Development guide](/sdks/frontend/typescript/development)** for all available signers and classes
* **[Implementing delegated wallets](/guides/developers/delegated-wallets)** for a full end-to-end tutorial
* **[Backend TypeScript SDK](/sdks/backend/typescript)** for the server side of the delegated flow
