parthbadgire-code/flowpay — reverse-engineered prompt
Reverse engineered prompt
Build me FlowPay, a DeFi web app where someone can connect their crypto wallet, deposit assets like ETH or MATIC as collateral, and borrow stablecoins without selling their holdings.
I want a clean dashboard that shows the user’s collateral value, borrowed amount, available borrowing power, LTV, health factor, and liquidation risk in plain language with simple charts and clear safe, warning, danger states. Users should be able to deposit collateral, borrow USDC, repay loans, add more collateral, and withdraw when safe.
Use a modern web app with wallet connection, smart contracts for the vault and borrowing logic, Chainlink style price feeds for asset pricing, and Supabase for any off chain dashboard data that helps the app feel fast. Include the core health factor and LTV math from the README, plus basic liquidation logic for unsafe positions.
Make it feel polished and trustworthy, like a serious finance product. Look up current docs online if needed.
Want more depth? Deep Reverse