v0.1.1

zkAuth SDK

Zero-knowledge identity and private transactions on Stellar.
Shield your address with ZK proofs โ€” no wallet connection needed.

Quick Start

One provider, one button. Drop it in and go.

1

Install

npm install @supreme2580/zkauth
2

Wrap with Provider

'use client';
import { ZkAuthProvider } from '@supreme2580/zkauth';

export function Providers({ children }) {
  return <ZkAuthProvider>{children}</ZkAuthProvider>;
}
3

Add the Button

'use client';
import { ZkAuthButton } from '@supreme2580/zkauth';

export default function Page() {
  return <ZkAuthButton />;
}

Features

๐Ÿ”’

No Wallet Required

Users prove identity with a password โ€” no MetaMask, no WalletConnect, no browser extension.

๐Ÿงช

ZK-Powered Privacy

Deposits and withdrawals are authorized by UltraHonk zero-knowledge proofs, not an on-chain address.

โ˜๏ธ

One-Line Setup

Wrap your app in ZkAuthProvider, drop in ZkAuthButton, done.

โšก

Stellar Native

Built on Soroban smart contracts. Compatible with any Stellar app.

React Hooks

Access identity state anywhere in your app.

const { balance, deposits, connect, disconnect } = useZkAuth();

Returns connected, secret, balance, deposits, connect, disconnect, and more.

Bring Your Own Key

Pass a raw private key instead of a seed phrase.

<ZkAuthButton privateKey={myUint8Array} />