
Closed
Posted
Paid on delivery
Our team is midway through building a new on-chain lending/borrowing platform and I need a Solidity engineer who can take full ownership of the remaining smart-contract work. The core lending logic, interest-rate model, collateral accounting, liquidation flow and incentive token mechanics must be written, optimised and fully tested so we can move straight to external audit. You will be working in a Hardhat environment (happy to switch to Foundry if that is your preference) and leveraging OpenZeppelin libraries where sensible. Gas efficiency, upgrade-safety and clean, well-documented code are paramount; I intend to keep the contracts lean enough for a formal verification pass later. Deliverables • Complete Solidity contracts for lending, borrowing, collateral and liquidation • Comprehensive unit and integration tests with ≥95 % coverage • Deployment scripts and minimal README so another dev can spin up the stack in minutes If you have shipped production DeFi code before—especially lending protocols—let’s talk details and timelines.
Project ID: 40527986
29 proposals
Remote project
Active 2 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
29 freelancers are bidding on average $14,929 USD for this job

Hi, taking over a lending protocol midway should begin with an invariant and architecture review, not immediate contract completion. I would map asset flows, privileged roles, oracle assumptions, storage layouts and every path that can create bad debt before extending the existing code. The core invariants should include total assets matching cash plus debt, user withdrawals never exceeding available liquidity, borrow positions remaining collateralized, interest indexes remaining monotonic, liquidations improving account health, and no unallocated loss after bad-debt handling. I would retain Hardhat for compatibility and add Foundry where useful for fuzzing, stateful invariants and fork tests. The test suite would cover oracle staleness/manipulation, decimals, rounding, utilization extremes, partial liquidation, fee-on-transfer tokens, paused markets, upgrade migrations and privileged-role failures. CI would run coverage, Slither, gas snapshots and OpenZeppelin storage validation. A practical $20,000 structure is: $3,000 takeover audit/specification; $7,000 lending, collateral and interest accounting; $5,000 liquidation, oracle and incentive mechanics; $5,000 fuzz/invariant tests, deployment scripts and audit-ready documentation. That estimate assumes the existing architecture is sound and excludes external audit, formal verification and post-audit remediation. If it aligns with you, let’s discuss in detail via private chat.
$20,000 USD in 80 days
7.4
7.4

As an experienced blockchain developer with expertise in Ethereum and Solidity, I am confident in my ability to complete the remaining smart-contract work for your lending/borrowing platform. I have successfully built and launched multiple DeFi projects, especially lending protocols, which means I understand the unique challenges and requirements of your project. With my aptitude for using OpenZeppelin libraries and working in Hardhat (or Foundry), I ensure gas efficiency, upgrade-safety, and well-documented code - qualities that are paramount to your project. My goal is to keep contracts lean enough for a formal verification pass later. Having gleaned valuable insights from my experiences with Ethereum, Solana, Polygon, and even Bitcoin Core; I offer not just coding prowess but a comprehensive understanding of the entire crypto landscape. This is what allows me to deliver scalable, secure, high-performance crypto solutions that are uniquely tailored to meet the needs of my clients. Choose me as your Solidity Dev for Lending Protocol today; let's talk details and timelines so we can get this project across the finish line swiftly and successfully!
$18,500 USD in 90 days
6.8
6.8

Hi there, I understand you need a Solidity engineer to complete the remaining smart-contract layer for an on-chain lending/borrowing protocol, including lending logic, interest rates, collateral accounting, liquidation flows, incentive mechanics, tests, and deployment scripts. I have experience building DeFi contracts with Solidity, Hardhat/Foundry, OpenZeppelin, upgrade-safe architecture, gas optimization, unit/integration testing, liquidation logic, token incentives, and audit-ready documentation. I would review the existing architecture, implement the remaining contracts cleanly, add ≥95% test coverage, optimize for gas and verification readiness, prepare deployment scripts, and deliver a concise README for handoff. Q1: Which assets and collateral types must be supported first? Q2: Are you using upgradeable contracts or immutable deployments? Q3: Is the interest-rate model already specified? Best regards.
$15,000 USD in 7 days
6.4
6.4

Hi, this is a well-scoped DeFi build with clear audit intent, and the part that stands out is that you need someone to take ownership of the remaining contract surface rather than just add isolated functions. The real engineering risk is not writing the happy-path lending flow; it is getting the accounting invariants, liquidation edge cases, and upgrade boundaries correct enough that audit findings stay limited to hardening rather than core logic. I’ve taken over in-progress systems before and usually start by mapping state transitions, privilege boundaries, and failure modes before touching implementation. In your case that means lending, borrowing, collateral accounting, liquidation, and incentive mechanics need to be treated as one solvency system, not separate features. The closest relevant work in my background is Custom Feature Development & Integration, where I stepped into an existing codebase, reviewed architecture, implemented remaining functionality, expanded tests, and delivered hand-off documentation. NYSE Day Trading Bot Development is also adjacent on financial logic and risk handling, though not on-chain. I would approach this by separating core accounting logic, rate accrual, liquidation paths, and admin controls so each can be tested against explicit invariants. If useful, I can start by reviewing the current contract surface and outlining the missing invariants, test matrix, and ownership boundaries before implementation proceeds. Thanks, Hercules
$15,000 USD in 7 days
5.9
5.9

Hi, I’m excited about helping your team complete the on-chain lending platform. With extensive experience in Solidity and DeFi protocols, I have developed and audited multiple lending and borrowing smart contracts, focusing on gas efficiency, upgrade safety, and thorough testing. I’m comfortable working within Hardhat environments and can switch to Foundry if preferred, ensuring smooth integration with your existing codebase. I understand the importance of detailed documentation and will deliver clean, well-structured contracts that facilitate future audits and formal verification. My approach includes writing comprehensive unit and integration tests to meet your coverage goals and creating deployment scripts that enable quick setup by other developers. I look forward to discussing your project’s specific logic for interest rates, collateral handling, and liquidation flows to ensure the final code aligns perfectly with your vision. Best, Justin
$15,000 USD in 7 days
5.3
5.3

Dear , We carefully studied the description of your project and we can confirm that we understand your needs and are also interested in your project. Our team has the necessary resources to start your project as soon as possible and complete it in a very short time. We are 25 years in this business and our technical specialists have strong experience in Agile Development, Blockchain, Ethereum, Documentation, Continuous Integration, Solidity, Smart Contracts, Cryptocurrency and other technologies relevant to your project. Please, review our profile https://www.freelancer.com/u/tangramua where you can find detailed information about our company, our portfolio, and the client's recent reviews. Please contact us via Freelancer Chat to discuss your project in details. Best regards, Sales department Tangram Canada Inc.
$16,500 USD in 5 days
5.1
5.1

As an experienced and multi-talented blockchain developer, I am more than equipped to take full ownership of your mid-way project. My understanding of Solidity, Hardhat environment and OpenZeppelin libraries align perfectly with your requirements, allowing me to hit the ground running. Having shipped multiple DeFi projects before, including lending protocols, I not only bring proficiency but also intricate knowledge that will be invaluable in crafting your solidity smart contracts from scratch, ensuring high efficiency and robustness. Beyond just writing code, my methodical approach and rigorous testing ensures ≥95% coverage for both unit and integration tests. Additionally, I prioritize documentation and complete it in a way that even another developer can easily run the stack within minutes using the deployment scripts and minimal README. I understand you're aiming for gas efficiency & upgrade-safety; lean code-quality for potential audit - facets that I'm accustomed to delivering.
$15,000 USD in 3 days
3.9
3.9

You’re at the point where the lending logic, liquidation rules, and accounting all need to be airtight before an external audit. I’d start by going through your existing repo and locking down the invariants around collateral ratios, interest accrual, and bad-debt handling so every function maps back to a clear rule. From there I’d implement the lending/borrowing and collateral layer first, then layer liquidation and incentive mechanics on top so nothing fights the accounting model later. I usually work in Foundry for this kind of system, but Hardhat is fine if you prefer. OpenZeppelin for safety primitives, then I’d focus heavily on fuzz/invariant tests to hit your 95%+ coverage target while also catching edge cases like price oracle spikes, partial liquidations, and rounding drift over time. Gas tuning comes after correctness. One thing I like adding is scenario-based tests that simulate volatile markets end-to-end; it saves painful audit notes later. Happy to start as soon as I see the repo.
$10,000 USD in 30 days
2.8
2.8

Hi, I can take ownership of the remaining Solidity development for your DeFi lending/borrowing platform and deliver audit-ready smart contracts. I have experience building Web3 applications with Solidity, Hardhat/Foundry, OpenZeppelin, and DeFi workflows including lending, collateral management, liquidation mechanisms, token incentives, and secure contract architecture. I can handle: • Lending & borrowing contracts • Collateral accounting and liquidation logic • Interest rate model implementation • Reward/incentive token mechanics • Gas optimization and upgrade-safe patterns • Comprehensive unit/integration testing with high coverage • Deployment scripts and developer documentation I focus on clean, secure, well-documented code designed for external audit and future scalability.
$15,000 USD in 25 days
0.0
0.0

Ogden, United States
Member since Jun 20, 2026
$10000-20000 USD
$25-50 USD / hour
₹12500-37500 INR
$25-50 USD / hour
$250-750 CAD
₹12500-37500 INR
$25-50 USD / hour
₹12500-37500 INR
min $50 USD / hour
$250-750 USD
$250-750 USD
£100-300 GBP
$8-15 AUD / hour