Inspiration
Bitcoin has become the ultimate store of value, but DCA investors face two major problems:
- Privacy leak: Every purchase creates on-chain footprints linking identity to holdings
- Earnings volatility: Accumulating BTC while holding other assets means fiat exposure fluctuates wildly with price swings
We wanted to build a sovereignty-first DCA app that lets users stack sats privately and settle volatile earnings with quantum-safe mechanisms.
What it does
QuietGain DCA is a privacy-first Bitcoin DCA app: stack sats via Nostr with BIP-352 Silent Payments, use Lightning stable channels to keep your fiat exposure steady when BTC pumps, and settle long-term wealth on P2QRH addresses generated with ML-DSA (CRYSTALS-Dilithium) to remain secure against quantum attacks.
๐ฐ DCA Purchase Flow
- Multi-Currency Support: Buy Bitcoin in USD, IDR (Indonesian Rupiah), or INR (Indian Rupee)
- Direct Lightning Payments: Pay via YakiHonne wallet integration
- Silent Payments: Receive Bitcoin privately using BIP-352 Silent Payments
- Smart Widget Handler: Native payment integration with YakiHonne SDK
โก Stable Channels - Stabilize Your Bitcoin Gains
Lock in your Bitcoin value using Lightning Network stable channels. When BTC price increases, protect your gains by depositing into stable channels that maintain USD-equivalent value.
Example: You've accumulated 0.5 BTC through DCA
- Initial DCA at $60,000: 0.5 BTC = $30,000
- BTC Pumps 40% to $84,000: 0.5 BTC = $42,000
- Deposit to Stable: 0.3 BTC ($25,200) + 0.2 BTC stable ($16,800)
- BTC Drops 20% to $67,200: 0.3 BTC = $20,160 + stable = $16,800 = $36,960 (protected!)
Without stable channels: 0.5 BTC @ $67,200 = $33,600 (lost $8,400 from peak)
With stable channels: $36,960 (saved $3,360! โ
)
๐ Privacy & Security
- Silent Payments (BIP-352): Receive Bitcoin without address reuse - no on-chain linkability
- Nostr Integration: Your identity and history on decentralized relays (kind 31111 events)
- Lightning Payments: Fast, low-fee Bitcoin transactions
- Post-Quantum Ready: Future ML-DSA (FIPS-204) support for quantum-resistant settlements
๐ฑ Mobile-First Design
- Optimized for YakiHonne playground
- Progressive Web App (PWA) support
- Touch-friendly interface
- Responsive layout for all screen sizes
How we built it
Frontend: React 18 + Vite + Redux Toolkit for state management
Nostr Protocol: @nostr-dev-kit/ndk for relay communication and event publishing
Cryptography: BIP-352 Silent Payments, Schnorr signatures, post-quantum key derivation
Lightning: bolt11 invoice generation, QR code rendering
Infrastructure: Connected to YakiHonne relays + Damus, Nostr Band, nos.lol
Key components:
NostrProvider: Handles identity via nos2x extension or npubDCAEngine: Computes BTC amounts, manages purchase eventsChannelManager: Tracks stable channel deposits and synthetic USD positionsMarketplaceHandler: P2P order matching and invoice settlementQuantumSafeModule: Post-quantum signature validation and ML-DSA key generation
Challenges we ran into
- Silent Payment Integration: BIP-352 is non-standard. Required implementing full tweak chain and address scanning logic from scratch.
- Nostr Relay Sync: Multiple relay sources can have conflicting event versions. Implemented consensus logic for historical consistency.
- Quantum-Safe Cryptography: Integrating post-quantum signatures (CRYSTALS-Dilithium/ML-DSA) with Schnorr signatures required careful key commitment schemes.
- UX for Lightning: Generating invoices on-the-fly while syncing channel state to Nostr proved complex. Solution: local caching + relay fallback.
- Stable Channel Math: Creating synthetic USD positions without derivatives infrastructure. Used Lightning channel capacity ratios as collateral proxies.
Accomplishments we're proud of
- โ Full Silent Payment flow: From address generation to verified receipt tracking
- โ P2P Marketplace: Live order feed with Lightning invoice settlement
- โ Quantum-Safe Settlement: First Bitcoin DCA app with ML-DSA earnings stabilization
- โ Cross-Device Sync: Nostr-native history accessible from any device
- โ Real-Time Analytics: DCA statistics with average price tracking and rebalance suggestions
- โ Mobile-Ready: YakiHonne integration for Telegram/web UI
What we learned
- Privacy != Obscurity: Silent Payments require rigorous validation. A single leaked tweak breaks privacy.
- Nostr as Infrastructure: Using kind 31111 for structured financial data proved flexible.
- Quantum Post-Mortems Matter: Post-quantum cryptography needs active monitoring. Integrated key rotation for algorithm agility.
- Lightning Channel Atomicity: Payment channels simplify UX but complicate state consistency.
- Bitcoin Community: Feedback on BIPs and cryptography from Twitter/Nostr pushed protocol design forward.
What's next for QuietGain DCA
- [ ] Real Lightning Node: Integrate LNbits or BTCPay for production channels
- [ ] ML-DSA Settlement: Generate P2QRH addresses from Dilithium keys for long-term HODL security
- [ ] HODL Invoices: Escrow-based orders with timelock releases
- [ ] Automated DCA Scheduling: Cron-like recurring purchases via Nostr event scheduling
- [ ] Silent Payment Wallet: Full wallet UI with balance tracking via Silentium integration
- [ ] Reputation System: NIP-05 verification for marketplace trust
- [ ] Quantum Algorithm Agility: Monitor NIST PQC standardization, rotate keys proactively
- [ ] Social Features: Follow friend DCA strategies, compare accumulation rates
Stack sats. Stay humble. Build on Nostr. โก๐งก

Log in or sign up for Devpost to join the conversation.