Flash Loan Lending Integration

via Freelancer ·

Budget / Salary$250–750
TypeFreelance project
LocationRemote
Posted50 minutes ago
I am building a DeFi module that combines instant, uncollateralised flash loans with a collateral-backed lending layer. The goal is to let users tap deep on-chain liquidity, route it through our own logic, then close the loan or roll it into a standard collateralised position— all within a single, gas-efficient flow.

Scope of work
• Design and code Solidity smart contracts that request, receive and repay flash liquidity, then optionally transfer the resulting position into a collateral vault.
• Wire the contracts to the leading liquidity pools on the chosen EVM chain(s); I am open to Ethereum mainnet, BSC, Polygon or any network you feel offers the best mix of liquidity and fees.
• Expose clean external methods so a front-end or script can trigger:
– initiateFlashLoan(amount, asset, params)
– repayOrConvert(txData)
– withdrawCollateral(positionId)
• Provide Hardhat tests that cover happy-path and failure scenarios, including re-entrancy checks and interest or fee accounting.
• Supply a minimal React or Node script to demonstrate end-to-end usage.

Acceptance criteria
1. A full flash-loan cycle (borrow → execute arbitrary operation → repay) succeeds in a single transaction.
2. When the user opts to convert, collateral is locked and an on-chain debt position is opened with correct health-factor tracking.
3. All critical paths have 100 % unit-test coverage and pass Slither or MythX static analysis with no high-severity findings.
4. Clear deployment scripts and markdown instructions allow me to replicate the setup on any EVM testnet.

If you have prior work with Aave, Compound or dYdX adapters, highlight it— but any well-audited liquidity source is fine. I value concise, well-commented code and transparent security practices.
php adobe flash software architecture actionscript blockchain ethereum solidity smart contracts
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.