- Decentralised Finance (DeFi)
DeFi contracts from beginner to advanced levels, highlighting key implementations such as flash loans, staking DApps, and cross-chain mechanisms using tools like Hardhat, Foundry, and truffle. Each project is succinctly described to demonstrate expertise in blockchain development.
- Industry
- DeFi
- Year
- Service
- Smart Contracts

Basic Level
-
Fetch Token Price Uniswap V3 & PancakeSwap
- The retrieval and display of token data from UniswapV3 & Pancake protocols, tested with nodeJS to ensure accurate data fetch.
-
Synthetix Staking
- Understanding staking contracts of Synthetix protocol.
-
Traditional Staking (2 methods)
- Method: 1 - Created a DApp for staking tokens with reward systems to earn reward tokens.
- Method: 2 - Developed a staking token with a dynamic reward system using the liquidity contract.
- Deployment & Testing: Deployed and thoroughly tested the contract with edge cases using Foundry.
-
Chainlink PriceFeed
- Chainlink oracles to provide decentralized data feeds; tested JavaScript integrations with Hardhat.
-
Uniswap V2
- Uniswap Swap: Trades tokens via liquidity pools with a 0.3% fee for liquidity providers.
- FlashSwap: Verifies flash swaps where assets are borrowed and returned with fees in one transaction.
- Liquidity: Tests adding/removing liquidity, ensuring LP tokens reflect pool share and balances update.
- Optimal: Assesses optimal trading and liquidity strategies to minimize fees and slippage.
- Fee Structure and LP Tokens: 0.3% fee per trade is shared among liquidity providers; LP tokens represent a share of the pool and fees.
-
Airdrop For LP's
- Claim your airdrop tokens exclusively for liquidity providers. This reward is reserved for those who have contributed to our liquidity pools.
Intermediate Level
-
Liquidity Staking
- Developed a liquid staking solution using Js script to convert LP tokens to reward tokens in real-time.
- Allows users to stake assets while retaining liquidity and receiving derivative tokens for use in other DeFi applications.
- Ensures continuous staking rewards with flexible asset utilization.
-
Yield Farming
-
MasterChef V1: Developed a yield farming DApp using the original MasterChef V1 contract. Users can stake tokens and earn rewards based on liquidity provided. A straightforward reward distribution model with a single pool setup. Simple and effective for smaller-scale yield farming operations.
-
MasterChef V2: Built an advanced yield farming DApp using the MasterChef V2 contract. Supports multiple pools, allowing users to stake tokens and earn rewards across different liquidity pools. Flexible reward mechanisms for dynamic pool management, including adding/removing pools and adjusting reward rates. Optimized for gas efficiency, ensuring a seamless experience even in more complex setups.
-
-
AAVE Borrowing & Lending
- Aave Borrowing: Users deposit collateral to borrow assets from Aave, with interest rates and a health factor determining loan safety.
- Borrowing with Deploying Scripts: Automate borrowing via smart contracts or scripts, managing collateral and transactions programmatically for efficiency.
-
Pancake FlashLoan
- PancakeSwap Functions: placeTrade executes swaps, initiateArbitrage starts arbitrage, and pancakeCall handles callbacks. Tests verify correctness and functionality.
- Hardhat Deployment Script: Automates contract deployment and interaction. Includes tests for verifying deployment success and function correctness on Hardhat.
-
Compound
- Developed and tested smart contracts for lending and borrowing on Compound, using Hardhat for simulations and testing.
-
Uniswap V3
- Concentrated Liquidity: Allocates liquidity within specific price ranges.
- Multihop Swaps: Optimizes trades across multiple pools.
- Various Fee Structures: Supports different fee tiers (e.g., 0.05%, 0.3%, 1%).
- Custom Functionality: Added unique features for advanced strategies.
- Testing with Hardhat: Verified all functionalities for correctness and performance.
Advanced Level
-
Crosschain FlashLoan Uni & Sushiswap
- Cross-Chain Flash Loans: Borrow assets across blockchains for arbitrage between SushiSwap and Uniswap.
- Functions: placeTrade executes swaps, and initiateArbitrage exploits price differences across chains.
- Testing with Hardhat: Ensured correct execution of cross-chain operations, trading, and arbitrage strategies.
-
Aave FlashLoan
- Implemented Aave v2 flashloans using requestFlashLoan and executeOperation for arbitrage and DeFi strategies with full repayment within a single transaction.
- Enhanced Aave v3 functionality, integrating FlashLoanArbitrage for optimized capital efficiency, gas savings, and improved liquidation mechanisms.
- Deployed and tested contracts on Hardhat, ensuring successful flashloan execution and profitable arbitrage across DEXs.
-
dYdX FlashLoan
- Implemented dYdX flashloans using initiateFlashLoan and callFunction, integrating ICallee and DydxFlashloanBase libraries for seamless execution.
- Developed and tested the flashloan functionality on Truffle, validating arbitrage opportunities and ensuring efficient loan handling.
- Created comprehensive tests to verify the functionality of arbitrage strategies with dYdX flashloans, ensuring optimal performance and profitability.
-
WETH10 FlashLoan
- Flashloan Functionality: Implemented onFlashLoan in weth10 for managing and executing flashloans.
- Test Suite: Developed a dedicated test file to validate the flashloan functionality, covering edge cases and ensuring proper fund handling.
-
ERC4626 Vault
- Implemented ERC4626, ERC4626Fees, and ERC4626Strategy contracts for managing vault functionality and associated fees.
- Unit Tests: Created comprehensive Hardhat tests for the vault, covering withdrawals, validations, events, and transfers.
- Functional Testing: Ensured robust contract performance and correct behavior through detailed test cases.
-
Algorithmic StableCoin (Two Methods)
-
Method 1: Collateralized with WBTC and WETC, using a governor contract for market value adjustments through minting and buying stablecoins. Extensive testing and deployment were conducted using Foundry.
-
Method 2: Collateralized with WBTC, WETC, and USDT with pre-existing blockchain addresses. The governor contract manages the stablecoin’s total supply, utilizing a real-time price feed oracle for accurate cryptocurrency pricing.
-
Technologies

Solidity

JavaScript

Truffle

Hardhat

Foundry

Git
