← Back to home

DeCently

Micro-savings DApp that rounds up PYUSD transfers and invests the change in DeFi yield.

Problem Statement

DeCently is a decentralized micro-savings application that revolutionizes how people save money in the Web3 ecosystem. It automatically converts everyday PYUSD transactions into savings by rounding up transfers to the nearest dollar and investing the difference in yield-generating DeFi protocols.💡 The Core Problem We SolveTraditional savings are broken in Web3:Manual Process: Users must actively decide to save and manually move fundsSmall Amounts: Micro-amounts (like $0.23 cents) are too small to justify gas fees for individual investmentsComplexity: Navigating DeFi protocols requires technical knowledgeInaction: Most people intend to save but never actually do it DeCently solves this by making savings automatic, effortless, and profitable.🔐 Security & Trust ModelNon-Custodial DesignUser Control: Users maintain full control of their EOA wallets and fundsPKP Automation: PKP wallets are programmable but deterministic with user maintaining full control over it.Transparent Logic: All savings calculations and transfers are verifiable on-chainPermission ModelLimited Scope: PKP can only execute pre-approved actions (PYUSD transfers to savings)Threshold Controls: Users set maximum amounts and frequency limitsRevocable Access: Users can revoke PKP permissions at any timeAudit Trail: Complete transaction history visible on blockchain💰 Economic ModelFor UsersZero Fees: No platform fees for basic roundup savingsGas Optimization: Batch transactions to minimize gas costsYield Generation: Earn 6-12% APY on saved funds through DeFi protocolsCompound Growth: Automatic reinvestment of yieldsRevenue Potential (Future)Performance Fees: Small percentage of generated yieldsPremium Features: Advanced strategies, higher limitsProtocol Partnerships: Revenue sharing with DeFi protocols🚀 Roadmap & Future FeaturesPhase 1 (Current) - MVP✅ Basic roundup savings functionality✅ Vincent PKP integration✅ Real-time transaction monitoring✅ Dashboard and user interface✅ Smart Saving strategiesPhase 2 - Enhanced AutomationDollar Cost Averaging (DCA): Scheduled recurring investmentsMulti-Token Support: USDC, USDT, and other stablecoinsAdvanced Strategies: Yield farming, liquidity provisionMobile App: React Native application for iOS/AndroidPhase 3 - Social & GamificationSavings Challenges: Community-driven savings goalsSocial Features: Share progress, compare with friendsRewards Program: Token incentives for consistent saversEducational Content: DeFi learning modulesPhase 4 - Enterprise & ScaleMainnet DeploymentMulti-Chain Support: Expand to Polygon, Base, OptimismInstitutional Features: Corporate savings programsAPI Platform: Third-party integrations and white-label solutions🌍 Impact & VisionIndividual ImpactBehavioral Change: Transform spending habits into saving habitsFinancial Literacy: Gradual exposure to DeFi concepts and strategiesWealth Building: Consistent small savings compound into significant amountsAccess to Yield: Democratize access to institutional-grade yield strategiesEcosystem ImpactDeFi Adoption: Lower barrier to entry for DeFi participationStablecoin Utility: Increase practical use cases for PYUSD and other stablecoinsProtocol Growth: Drive TVL growth for partner DeFi protocolsInnovation Catalyst: Pioneer new models for automated Web3 financial servicesDeCently represents a fundamental shift from manual, conscious saving to automated, unconscious wealth building. We're creating a system where:Saving becomes effortless (happens automatically with every transaction)Small amounts matter (micro-savings aggregate into meaningful sums)Everyone can access yield (no minimum balances or institutional barriers)Financial growth is transparent (all transactions and yields verifiable on-chain)This isn't just a savings app—it's a financial behavior change platform that makes wealth building as automatic as spending money. In a world where traditional savings accounts offer near-zero interest, DeCently provides a path to meaningful returns while building healthy financial habits.The ultimate vision is to make saving so automatic and rewarding that users wonder how they ever managed their finances without it.

Solution

We needed to automatically detect PYUSD transfers and trigger savings without constant user interaction. Traditional blockchain monitoring is too slow, and requiring users to sign every micro-transaction kills the UX.Key Technology Choices:PYUSD Integration We chose PYUSD because it's actually used for real transactions, not just DeFi speculation.Vincent/Lit Protocol for Automation Vincent solved our biggest UX problem - eliminating constant wallet popups. PKP wallets can execute predefined actions automatically after one-time user approval and custom ability.The hacky part: Vincent's JWT authentication wasn't designed for background processes. We built a token refresh system that validates PKP permissions on every automated transaction.Envio for Real-Time Monitoring Envio gives us sub-5 second transaction detection instead of the usual 30-60 second delays. It auto-generates GraphQL APIs and handles all the blockchain infrastructure.The tricky integration: Envio runs its own PostgreSQL database, but we needed our app database in sync. We built a "dual-database bridge" where Envio handles raw blockchain data and our app handles business logic.🔄 How It All ConnectsTransaction Flow:User sends PYUSD → Envio detects in ~3 secondsWe calculate roundup amount (e.g., $12.37 becomes $0.63 savings)Vincent PKP automatically executes savings transferFrontend updates in real-timeThe speed hack: Instead of waiting for Envio's API, we poll both the database directly AND the GraphQL endpoint for redundancy.💡 Notable Technical DecisionsPKP Security Model PKPs can only transfer PYUSD from user's EOA to their own savings wallet, with amount limits matching calculated roundups. The PKP actually validates its own transaction parameters before executing.Multi-Service Development Running locally requires coordinating 4 systems: Envio indexer (Docker), Express backend, Next.js frontend, and Vincent authentication. We built custom orchestration to start everything in the right order.Authentication bridge: Making Vincent's powerful PKP system feel like normal Web2 login while maintaining all the automation capabilities.

Hackathon

ETHOnline 2025

2025

Contributors