hackquest logo

Yield Farming - Part 1

What is Yield Farming and how does it work? Yield farming is a foundational DeFi strategy where investor stakes crypto assets to earn a higher return. In Part 1 of the Yield Farming course, we will learn to build the basic structure of a liquidity mining system, including LP Token, Treasury, and Yield Farming contracts.

Yield Farming - Part 1

Language

Solidity

Total Length

1.7h

Part of Learning Track

Build on Ethereum + 1

What You’ll Learn

Creation and initialization of the main contract LoanSystem, and auxiliary contracts Treasury and LoanLibray. Step-by-step guidance on contract function testing and on-chain operation tutorials.
ERC20
liquidity pool
LP token

Syllabus