Wax Auth Client v1.0.0 is a JavaScript/TypeScript library for authenticating users on the WAX blockchain using Anchor wallets. It provides a simplified login flow with token management, supporting both browser and Node.js environments. Published on npm with built-in TypeScript definitions, it is actively maintained by the WAX community. Unlike general blockchain auth libraries, it is tailored specifically for WAX and Anchor, offering streamlined integration with minimal boilerplate.
npm install wax-auth-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows initialization of WaxAuthClient with required endpoints and a basic login function.
Use HTTPS URLs for both endpoints.
Check for Anchor wallet availability before calling login().
Replace `waxEndpoint` with `chainId: '1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1b19d9e1d4c1b3c3'`.
Run `npm install wax-auth-client` or `yarn add wax-auth-client`.
Use `import { WaxAuthClient } from 'wax-auth-client'` (named export).Install the Anchor wallet extension and ensure it is activated.
No dependency data recorded yet.