Nimiq Pay Utils
Ship direct Nimiq Pay sign-in, desktop-to-phone QR handoff, mini-app runtime detection, and local host simulation from one workspace.
This monorepo contains reusable packages, a shared E2E test package, and one Nuxt playground that demonstrates both auth flows.
Choose the package that fits your app
What ships in this repo
@onmax/better-auth-nimiq-payadds direct Nimiq Pay sign-in to Better Auth.@onmax/better-auth-mobile-qradds same-origin desktop-to-phone QR sign-in.@onmax/mobile-signer-bridgedefines the generic phone-side bridge contract.@onmax/mobile-signer-nimiq-payadapts that bridge to the Nimiq Pay mini-app provider.@onmax/nimiq-mini-app-runtimenormalizes and waits for the published Nimiq mini-app provider.@onmax/nimiq-mini-app-simulatorinjects a mock provider and optional Nuxt dev sidecar.@onmax/better-auth-nimiq-pay-e2eprovides local fetchers, stub providers, Vitest helpers, and shared scenarios.
Start with the playground
The monorepo includes one Nuxt playground that demonstrates both auth flows on one origin. Use it to verify package behavior before you integrate the plugins into your own app.