In short, yield farming protocols incentivize liquidity providers (LP) to stake or lock up their crypto assets in a smart contract-based liquidity pool. These incentives can be a percentage of transaction fees , interest from lenders or a governance token (see liquidity mining below).