{"library":"ton-better-auth","type":"library","category":null,"description":"Better Auth plugin for TON Connect — sign in with TON wallets using ton_proof. Version 0.2.3. Provides server-side verification of TON Connect ton_proof payloads (nonce challenge, signature verification, wallet state-init parsing for v1–v5, on-chain get_public_key fallback) and a client plugin with typed helpers. Release cadence: active development. Key differentiators: integrates directly with Better Auth's session and user management, supports wildcard domain policies, per-network domain rules, anti-abuse cooldowns, and events. Requires @better-auth/core >=1.3.0, better-auth >=1.3.0, and optional react >=18 for client. Ships TypeScript types. Node >=20.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","better-auth","better-auth-plugin","ton","ton-connect","tonconnect","tonkeeper","wallet","web3","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install ton-better-auth","imports":["import { tonConnect } from 'ton-better-auth'","import { tonConnectClient } from 'ton-better-auth/client'","import type { TONConnectOptions } from 'ton-better-auth'"]},{"cmd":"yarn add ton-better-auth","imports":[]},{"cmd":"pnpm add ton-better-auth","imports":[]}],"homepage":"https://github.com/mhbdev/ton-better-auth#readme","github":"https://github.com/mhbdev/ton-better-auth","docs":null,"changelog":null,"pypi":null,"npm":"ton-better-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}