DeroPay & DeroAuth
Payment processing and wallet-based authentication for DERO — the privacy blockchain where every transaction is encrypted by default.
Unlike other blockchains, DERO transactions are fully encrypted. That means accepting payments and authenticating users without exposing anyone's financial history. These SDKs make that possible.
Two Libraries, One Ecosystem
Quick Links
Why DeroPay and DeroAuth?
DERO is unique among blockchains — all transactions are encrypted using homomorphic encryption, the block structure is DAG-based, and it uses BN256 elliptic curve cryptography. There is no MetaMask. No Stripe. No existing auth standard.
These libraries fill that void.
| Other Chains | DERO (with these SDKs) | |
|---|---|---|
| Transaction privacy | Transactions visible on-chain | All transactions encrypted |
| Payment processing | Stripe, BTCPay, etc. | dero-pay |
| Wallet auth | MetaMask + SIWE | dero-auth + XSWD |
| Personal data exposed | Full transaction history linked to address | Address reveals nothing |
| Wallet extension | Browser extension required | Connects to local wallet via WebSocket |
Package Exports at a Glance
dero-pay
| Import | Purpose |
|---|---|
dero-pay | Core types, payment ID generation, pricing utilities (deroToAtomic, formatDero) |
dero-pay/rpc | Wallet and Daemon RPC clients |
dero-pay/server | Invoice engine, storage, monitor, webhooks |
dero-pay/client | Browser-side XSWD payment client |
dero-pay/react | React components and provider |
dero-pay/next | Next.js API route handlers and middleware |
dero-pay/escrow | Escrow contract wrapper and lifecycle manager |
dero-auth
| Import | Purpose |
|---|---|
dero-auth | Core types and message format |
dero-auth/crypto | Pure crypto: Schnorr verify, BN256, address parsing |
dero-auth/server | Challenge generation, verification, JWT sessions |
dero-auth/client | Browser SDK: XSWD wallet connection, signing flow |
dero-auth/react | <SignInWithDero /> button, provider, hooks |
dero-auth/next | Next.js API route handlers, auth middleware |
Built by DHEBP (opens in a new tab) — an independent software organization focused on privacy infrastructure for the DERO ecosystem.
DHEBP is not affiliated with or endorsed by the DERO Project or its core developers.