Installation

Install the Untraced SDK using your preferred package manager:

npm install @untraced/sdk
yarn add @untraced/sdk
pnpm add @untraced/sdk
bun add @untraced/sdk

Quick Start

Here's a minimal example to get verification working in your app:

Step 1: Wrap your app with UntracedProvider

import { UntracedProvider, UntracedModal } from '@untraced/sdk';

function App() {
  return (
    <UntracedProvider
      config={{
        clientId: "your-client-id",
        apiUrl: "https://untraced-web.vercel.app/api",
      }}
    >
      <YourApp />
      <UntracedModal />
    </UntracedProvider>
  );
}

Step 2: Trigger verification

That's it! The SDK handles wallet connection, OAuth flows, and attestation creation automatically.

Last updated