Endijuan33/arc-defi-lend-borrow ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app for a simple DeFi lending demo on Arc Testnet.

Users should be able to connect a wallet, either MetaMask or a Circle passkey wallet, then deposit cirBTC as collateral and borrow USDC against it. I want a clean dashboard that shows their wallet status, collateral deposited, how much they can borrow, current loan balance, and pool liquidity. They should also be able to repay their loan and withdraw collateral once it is unlocked. Include a small faucet or mint button for the mock USDC so the flow is easy to test.

Please make it feel polished and easy to use, with clear buttons, helpful empty states, and basic validation so users cannot borrow more than they should. Use the existing lending flow and contract setup if it is there, and wire the frontend to the smart contracts. If anything is unclear, look up the current docs online and make reasonable choices.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab