Privacy-preserving crypto payments using ERC-5564 stealth addresses.
Stealth Pay is a privacy-focused crypto payment platform that enables users to send and receive digital assets without publicly linking their primary wallet addresses to every transaction. It uses ERC-5564 stealth address technology to generate unique, one-time payment addresses for recipients.
Receivers create a stealth identity and share their public stealth meta-address. Senders use this information to derive a unique destination address and transfer tokens without needing to know the receiver's main wallet address. The receiver's scanner detects incoming payments through on-chain announcement events and can locally derive the corresponding spending key to recover funds into their primary wallet.
Stealth Pay integrates Whitechain Sepolia for testnet payments and Arkiv Rabdi for decentralized identity and payment-request data. Our goal is to make private crypto payments more accessible, practical and user-friendly.
Stealth Pay is built using a full-stack Web3 architecture combining modern frontend technologies, smart contracts, cryptography and decentralized data infrastructure.
The frontend is developed using Next.js, React, TypeScript and Tailwind CSS, with MetaMask integration for wallet connectivity and transaction signing. The blockchain interaction layer uses Viem and Wagmi.
Our core privacy mechanism implements ERC-5564 using secp256k1 elliptic-curve cryptography. It uses ephemeral keys, Elliptic Curve Diffie-Hellman shared-secret derivation and view tags to generate unique stealth addresses for individual payments.
We developed Solidity smart contracts, including a StealthPaymentRouter and ERC5564Announcer, deployed on Whitechain Sepolia. The router handles ERC-20 token transfers and announcement emission atomically. A background scanner monitors blockchain events, identifies payments intended for the receiver and supports non-custodial recovery and sweeping of received tokens.
For decentralized data, we integrated the Arkiv SDK on the Rabdi testnet to publish and retrieve receiver profiles and time-limited payment requests. Supabase/PostgreSQL supports application data where required.
Private keys are generated and used client-side, while sensitive key material is encrypted before local storage. The project was tested using Whitechain Sepolia and a custom six-decimal TestUSDT demonstration token. The implementation also includes experimental or simulated integrations for selected ecosystem services such as Uniswap, ENS and BitGo MPC.

