About
## Wave 1 submission
Project Overview: NullPay Wave 1: Foundation & MVP Complete
Live Demo: [https://null-pay.vercel.app] GitHub Repository: [https://github.com/geekofdhruv/NullPay] Aleo wallet - aleo1wrj8df524phakds6zzcv8fwdy9cwhg06lxc23f94g7hr3d7uwyfq89e2gy Youtube demo link - https://youtu.be/6an-LeuQBbg Technical Deep Dive: Privacy & ZK Proofs
The core innovation of NullPay lies in its Zero-Knowledge Privacy Architecture, implemented using Leo smart contracts and client-side proof generation.
Privacy-First Design
All payments are executed using credits.aleo/transfer_private, ensuring transaction amounts and sender and receiver identities remain encrypted on-chain.
---
Invoice Integrity Proof
The create_invoice transition generates an invoice_hash on-chain:
invoice_hash = Hash(merchant_address + amount + salt)
This binding guarantees that invoice terms cannot be altered. The salt adds entropy to prevent dictionary attacks.
---
Payment Verification without Disclosure
During the pay_invoice transition, the payer submits a private payment_secret. The contract computes:
receipt_key = Commit(payment_secret, Hash(salt))
The receipt_key is stored in the payment_receipts mapping, enabling merchants to verify payment occurrence without publicly linking the payer.
---
Replay Protection
The payment_receipts mapping enforces uniqueness of receipt_key, preventing double-spending or replay attacks since each receipt is tied to a unique secret and salt.
---
Tamper-Proof URL Verification
Invoice parameters (merchant, amount, salt) are embedded in the payment URL. Any attempt to modify these values results in a hash mismatch and on-chain rejection via zero-knowledge assertions.
---
Smart Contract Architecture
Contract: zk_pay_proofs_privacy_v7.aleo (Leo 1.10.0+)
InvoiceData structure:
* expiry_height (u32)
* status (u8): 0 = Open, 1 = Settled * invoice_type (u8): 0 = Standard, 1 = Fundraising
Mappings:
* invoices: invoice_hash -> InvoiceData
* salt_to_invoice: salt -> invoice_hash * payment_receipts: receipt_key -> amount
---
Multi-Payment and Fundraising Logic
Standard invoices enforce a single payment lifecycle by settling immediately after payment. Fundraising invoices remain open to accept multiple payments until manually settled by the merchant.
---
Frontend and Client-Side Proofs
Proofs are generated locally using React hooks such as useCreateInvoice and usePayment. Wallet scanning ensures sufficient private credits, with automatic public-to-private conversion if required.
Sensitive metadata is encrypted using AES-256-GCM and stored off-chain in Supabase, accessible only through controlled session-based permissions.
---
Tech Stack
Network: Aleo Testnet 3 / Beta
Languages: Leo, TypeScript Frontend: React 18 (Vite), Tailwind CSS Backend: Node.js, Express Database: Supabase (encrypted metadata only)
## Wave 2 submission
Live Application: https://null-pay.vercel.app/ Smart Contract: https://testnet.explorer.provable.com/program/zk_pay_proofs_privacy_v11.aleo NullPay Wave2 Demo (Desktop): https://youtu.be/d7tztJnto80 Mobile Version Demo: https://youtu.be/M_-JVcLAo2U?si=IJTNvCYxCm0zr8j6 Vision: https://null-pay.vercel.app/vision Documentation: https://null-pay.vercel.app/docs
-------------------------------------------------- 🌊 WAVE 2 MAJOR FEATURES --------------------------------------------------
💶 Native USDCx Integration
- Enables private payments using dollar-pegged USDCx.
Atomic Swaps:
- Supports token_type: 1u8 natively. - Interacts with test_usdcx_stablecoin.aleo contract. - Transfer and receipt generation occur atomically in a single step.
🛡️ Dual-Record Privacy
- Transaction history stored as encrypted records.
Payment Secret Derivation:
- receipt_hash = BHP256::commit_to_field(secret, salt). - Provides verifiable ownership without exposing encrypted data.
Encrypted Proofs:
- Generates two separate encrypted records: - PayerReceipt - MerchantReceipt - Each is encrypted for its respective owner.
🎁 Open-Ended Donations
- Allows flexible contribution amounts.
Zero-Amount Logic:
- invoice_type: 2u8 supports amount: 0 at creation. - Payer defines the amount during settlement. - Ideal for tips and fundraising.
📱 NullPay Mobile Lite
- Lightweight mobile-optimized interface.
Lightweight Optimization:
- Focused components: CreateInvoice, PaymentPage. - Fast loading even on low-bandwidth networks. - Maintains full zk-cryptographic backend security.
-------------------------------------------------- 💳 CORE INVOICE SUITE --------------------------------------------------
Standard Invoice:
- Single fixed payment request. - Automatically closes after settlement.
Multi-Pay Campaigns:
- Multiple contributors pay into one campaign. - Each contributor receives an encrypted receipt.
Donations:
- Fully open-ended invoices. - Users decide the payment amount dynamically.
-------------------------------------------------- ⚙️ TECHNICAL ADVANTAGES --------------------------------------------------
Zero-Knowledge Puzzles:
- Merchant addresses, amounts, and metadata hashed via BHP256. - Validity is proven without revealing sensitive data.
Anti-Replay Architecture:
- Dual-receipt model prevents replay attacks. - Ensures unforgeable proof-of-payment for both parties.
Fast Off-Chain Indexing:
- AES-256-GCM encrypted storage via Supabase. - Enables fast querying while preserving privacy. 🚀 SUMMARY --------------------------------------------------
NullPay Wave 2 demonstrates that decentralized trust can coexist with absolute privacy.
Decentralized Trust meets Absolute Privacy. 🚀
## Wave 3 submission
Updates in this Wave Live Application: https://nullpay.app/ Smart Contract: https://testnet.explorer.provable.com/program/zk_pay_proofs_privacy_v20.aleo NullPay SDK Demo: https://youtu.be/B1R0IWvNcVA npm package link : https://www.npmjs.com/package/@nullpay/node nullpay sdk docs : https://nullpay.app/developer Live Notification Demo: https://youtu.be/VRV4q3nXc5I Vision: https://nullpay.app/vision Documentation: https://nullpay.app/docs
-------------------------------------------------- 🌊 WAVE 3 MAJOR FEATURES --------------------------------------------------
📦 NullPay Node SDK
- The @nullpay/node SDK is live on npm. Integrate privacy-preserving payments into any Node.js backend. - Features: checkout.sessions.create, retrieve, and webhook signature verification for all tokens.
💵 USAD Private Token Support
- Native support for USAD (token_type: 2u8) alongside Aleo Credits and USDCx. - Fully private settlement via the on-chain USAD program with atomic dual-receipt generation.
🎁 Multi-Token Donation Invoices
- Donation invoices (amount: 0) now accept ANY token. - Payers dynamically choose their preferred private token at checkout, giving ultimate flexibility.
🔔 Live Payment Notifications
- Instant push notifications powered by Supabase Realtime when payments are received. - Features toast alerts with truncated hashes, a 3-tone chime, and duplicate-safe tracking.
🛡️ Burner Wallet — Full Merchant Anonymity - Generate a Burner Wallet locally to completely decouple your main identity from business payments. - Zero server exposure: your key is secured locally and payments stay isolated to the burner address.
📲 Permanent Profile QR Code
- A persistent, one-time-setup QR code backing a permanent multi-pay donation invoice. - Share anywhere for limitless token payments. Supports both Main and Burner wallets.
📊 Enhanced Merchant Dashboard
- Rebuilt with richer analytics: view live on-chain balances for Credits, USDCx, and USAD. - Includes revenue charts, earnings splits (Main vs. Burner), and real-time invoice status.
🧪 SDK Testing Environment
- A deployed test merchant site demonstrating the full end-to-end @nullpay/node checkout flow. - Features hosted session creation, payment UI, and webhook handling.
-------------------------------------------------- 🚀 SUMMARY --------------------------------------------------
Biggest Update Yet! SDK, USAD token, multi-token donations, burner wallets, profile QR, and live notifications.
If you want to test the flow of sdk, you can visit this testing website - https://testing-website-frontend.vercel.app/
Decentralized Trust meets Absolute Privacy.
## Wave 4 submission
Live Application: https://nullpay.app/ MCP Server Demo: https://youtu.be/OBl67IpPRLg SDK Demo: https://youtu.be/mwlKxFReJJw SDK Testing Website: https://testing-website-frontend.vercel.app/ npm package link (MCP): https://www.npmjs.com/package/@nullpay/mcp npm package link (SDK): https://www.npmjs.com/package/@nullpay/node npm package link (CLI): https://www.npmjs.com/package/@nullpay/cli Developer Docs(MCP + SDK): https://nullpay.app/developer Vision: https://nullpay.app/vision Documentation: https://nullpay.app/docs
-------------------------------------------------- 🌊 WAVE 4 MAJOR FEATURES --------------------------------------------------
🤖 NullPay MCP Server
- The @nullpay/mcp package is now live, letting AI agents create invoices, pay supported links, inspect transactions, and log into NullPay through MCP. - Users can install it with a simple npm command and connect it directly to Claude Desktop or Claude Code.
🛠️ SDK + CLI Expansion
- The @nullpay/node SDK now supports richer checkout flows, local invoice manifests via nullpay.json, and smoother backend integration. - The @nullpay/cli now helps generate salts, relay invoice setup, resolve hashes, and write ready-to-use manifest files automatically.
🎁 Full Gift Card Ecosystem
- NullPay now supports the full gift card flow: create, load, scan, redeem, and spend gift cards with private balances. - Gift cards can also be used directly in supported checkout and invoice payment flows.
⚡ Delegated Proving & Fee Sponsorship
- NullPay introduced backend-sponsored execution for selected flows through delegated proving and fee sponsorship. - Users still authorize locally, while NullPay handles the proving and fee relay path for a smoother non-custodial experience.
🧠 Context-Aware NullBot
- NullBot is now integrated across the dashboard, developer portal, and docs with route-specific awareness. - It acts like a live merchant copilot, helping users navigate balances, invoices, payments, and developer flows in context.
📡 Realtime Hosted Checkout
- Hosted checkout is now more robust with live payment state updates and faster settlement feedback. - Merchants get a cleaner zero-config payment experience without wiring their own realtime infrastructure.
-------------------------------------------------- 🚀 SUMMARY --------------------------------------------------
AI-native NullPay is here.
Wave 4 brings the MCP server, smarter NullBot experiences, stronger SDK and CLI tooling, a complete gift card flow, delegated proving, and a much smoother hosted checkout stack.
Private payments, developer tooling, and AI integration — all in one ecosystem.
## Wave 5 submission
Live Application: https://nullpay.app/ Wave 5 Demo: https://youtu.be/RzCMaCgremE Core Smart Contract: https://testnet.explorer.provable.com/program/zk_pay_proofs_privacy_v29.aleo Wallet Contract: https://testnet.explorer.provable.com/program/zk_pay_proofs_privacy_wallet_v6.aleo npm (MCP): https://www.npmjs.com/package/@nullpay/mcp npm (SDK): https://www.npmjs.com/package/@nullpay/node npm (CLI): https://www.npmjs.com/package/@nullpay/cli SDK Testing: https://testing-website-frontend.vercel.app/ -------------------------------------------------- 🌊 WAVE 5 MAJOR FEATURES -------------------------------------------------- 🤖 OpenClaw + Wider MCP Coverage - NullPay exposed via OpenClaw extends MCP beyond desktop assistants and IDEs to Telegram, WhatsApp, Discord, Slack, Signal, and other chat surfaces, while maintaining full compatibility with Antigravity, Codex, Cursor, and stdio clients.
🔮 Live Oracle Conversion
- Standard and multipay flows now support oracle-backed conversion for alternative token payments. Quote, converted amount, and settlement path are verified inside the Aleo execution, ensuring an anti-tamper payment flow.
💳 NullPay Card + Wallet-Free Checkout
- Full card rail includes private card profiles, PIN/secret unlock, limits, local balance scanning, and transfer-back flows. Users can pay via dedicated card path without connecting a browser wallet at checkout.
📡 Telegram Bot Merchant Control
- A complete Telegram bot provides merchant linking, dashboard summaries, invoice lookup, payment links, webapp deep links, and notification preferences—functioning as a full merchant control surface within Telegram.
⚡️ Fixed Fee + Optional Fee Estimation
- Fixed fee remains the default for faster Shield appearance. Optional fee estimation is now available for users requiring dynamic fee calculation.
📊 Dashboard, Audit, Batch Pay, Notes, and Invoice Controls - Enhanced merchant dashboards with deeper invoice search, improved analytics, selective disclosure, and audit verification. Wave 5 adds batch payments, gift card history, invoice titles, payer/merchant notes, and invoice deletion flows removing state from off-chain and on-chain layers where supported. -------------------------------------------------- 🏆 THANKS TO THE JUDGES -------------------------------------------------- - Wave 4 feedback directly informed Wave 5: batch payment processing, improved gift card history visibility, and continued strengthening of NullPay as a complete merchant and payment platform. Thank you for the guidance. -------------------------------------------------- 🚀 SUMMARY -------------------------------------------------- Wave 5 delivers OpenClaw distribution, live oracle conversion, the NullPay Card, Telegram merchant controls, fixed/optional fee estimation, invoice deletion improvements, notes, gift card history, and smoother batch payments—uniting private payments, merchant operations, and AI-connected access in one ecosystem.
Prizes
- Wave 1 grant · 1,350 USDT
- Wave 2 grant · 1,215 USDT
- Wave 3 grant · 1,395 USDT
- Wave 4 grant · 2,700 USDT
- Wave 5 grant · 3,750 USDT
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





