About
## Wave 1 submission
Smart Contracts Core Architecture: YieldVault.sol: ERC4626-compliant tokenized vault with performance (20%) and management (1.5%) fees StrategyManager.sol: Multi-protocol allocation manager with automated rebalancing capabilities Protocol Adapters: Standardized interfaces for DeFi protocol integration
AI Engine
Continuous yield monitoring across Aave, QuickSwap, and Curve
Frontend
## Wave 2 submission
We've successfully deployed our AI-Powered DeFi Yield Optimizer to Polygon PoS Amoy Testnet and implemented comprehensive live blockchain integration features that transform the project from theoretical to production-ready.
https://amoy.polygonscan.com/address/0xdEDeBDB00a83a0bD09b414Ea5FD876dB40799529
Live Integration Features Implemented
- Real-Time Transaction History - Network Status Monitoring - Live Data Updates
## Wave 3 submission
In this wave, i added detailed optimizer insights, strategy logic, and AI component visibility: a Node.js ML service bridge to Python models (LSTM yield predictor, Random Forest risk scorer), an enhanced optimizer using Mean-Variance Optimization with Sharpe ratio maximization, new API endpoints (/api/optimizer/strategy, /api/optimizer/insights, /api/optimizer/ml-status), and frontend components (OptimizerInsights and StrategyDetails) that display real-time optimizer decisions, ML predictions, risk assessments, and methodology.
## Wave 6 submission
PolygonPay is a fully deployed, AI-powered onchain payroll system built on Polygon Amoy — not a prototype, not a mockup. Every feature described below is live, verifiable on-chain, and demonstrated in the video.
Live Demo: https://www.loom.com/share/e08693510be441119d2902418078e5ba
Deployed Smart Contract: https://amoy.polygonscan.com/address/0xEEe28Afd5077a0Add3D1C59f85B8eaEE49816127
GitHub Repository: https://github.com/AJTECH001/PolygonPay
What was built and shipped this wave:
1. Smart Contract — Live on Polygon Amoy (Block 34567860) PayrollRegistry.sol is deployed and verified at 0xEEe28Afd5077a0Add3D1C59f85B8eaEE49816127. It supports two payment models: lump-sum payroll (executed on a configurable schedule) and per-second token streaming (salary accrues mathematically by the second using streamRate × elapsed time). Funds are held in per-employer, per-token deposit buckets — fully non-custodial, withdrawable at any time. All payments — EmployeePaid, StreamClaimed, PayrollExecuted — emit verifiable on-chain events.
2. Employer Dashboard — Full Onchain Workflow Employers connect a wallet, register their company in one transaction, add employees (wallet address, role, salary, token, payment type), deposit funds (native POL or any ERC-20 with automatic allowance + approval handling), and execute payroll — all transactions confirmed on Polygon Amoy. The dashboard shows real-time contract balances, a payroll readiness checker (flags insufficient funding before execution), and a live payment history table indexed directly from on-chain events.
3. Employee Portal — Claim and Verify
Employees connect their wallet, enter their employer's address, and instantly see their employment details fetched from the contract. Streaming employees see a real-time counter ticking up per second showing their accrued balance, with a one-click claim. Lump-sum employees see their payment history with direct PolygonScan transaction links as cryptographic proof of compensation.
4. Claude AI Payroll Insights
The /api/analyze route reads live on-chain payroll data (employees, salaries, payment history) and submits it to Claude Opus 4.6 for real inference — not canned responses. Claude returns structured anomalies, risk signals, and optimization recommendations rendered in the employer dashboard's AI Insights tab.
5. NetworkGuard — detects wrong network, shows Amoy details and one-click switchChain button 25 Gwei gas floor — wagmi.ts configured with defaultPriorityFee: parseGwei("25") so MetaMask never submits 0-tip transactions that get rejected by Amoy ERC-20 approve flow — automatically checks allowance before deposit; if insufficient, runs approve(), waits for confirmation, then deposits — one UX step for the employer SSR-safe wallet providers — RainbowKit/wagmi load client-side only via next/dynamic ssr:false, preventing static build crashes Multi-token support: POL (native), USDC (0x41E94Eb...), WMATIC (0x360ad4f...), extensible to any ERC-20.
Prizes
- Wave 1 grant · 96.77 USDC
- Wave 2 grant · 30.2 USDC
- Wave 6 grant · 45 USDC
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





