Learn — DeFi
What is
DeFi?
DeFi uses smart contracts to coordinate trading, lending and other financial activity. It can reduce some intermediaries, but it does not remove trust, dependencies or the possibility of loss.
Context
Transactions follow a protocol’s rules rather than a bank’s internal ledger
On-chain contracts can accept transactions whenever the network is operating
Protection depends on the activity and parties; do not assume FSCS or FOS cover
The idea
DeFi stands for decentralised finance. It is a collection of applications — mostly built on Ethereum — that replicate traditional financial services using smart contracts instead of institutions.
Want to lend money and earn interest? There is a DeFi protocol for that. Want to borrow against your crypto without selling it? There is a protocol for that too. Want to swap one token for another without creating an account anywhere? That is what a decentralised exchange does.
Code is only part of the system. A protocol may still depend on a website, development team, administrator keys, price feeds, bridges and token-holder votes. Some organisations offer support; that does not mean a mistaken or malicious on-chain transaction can be reversed.
What people do in DeFi
Lending and borrowing. Protocols like Aave and Compound allow you to deposit crypto and earn interest from borrowers. Borrowers post collateral (usually worth more than the loan) and pay interest. Rates are set by supply and demand, not a committee.
Swapping tokens. Decentralised exchanges (DEXs) like Uniswap let you swap one token for another directly from your wallet. No account creation. No identity verification. Liquidity comes from pools funded by other users who earn fees in return.
Providing liquidity.You can deposit pairs of tokens into a liquidity pool and earn a share of trading fees. This is called being a “liquidity provider.” The yields can be attractive. The risks — particularly impermanent loss — are real and poorly understood by most participants.
Yield farming.Moving funds between protocols to chase the highest returns. This was the dominant activity in the 2020 “DeFi summer.” It is high-risk, technically demanding, and often rewarded in tokens whose value declines rapidly.
The risks
Smart contract bugs.If a protocol's code has a vulnerability, attackers may be able to drain or freeze funds. An audit is evidence of a review, not a guarantee that every weakness was found.
Impermanent loss. When you provide liquidity to a pool and the price of one token moves significantly relative to the other, you end up with less value than if you had simply held the tokens. The maths is counterintuitive and catches many beginners off guard.
Rug pulls. New protocols launched by anonymous teams can disappear with deposited funds. There is no recourse. Due diligence in DeFi means reading code or trusting those who have.
Limited routes for redress. A DeFi transaction may involve several tokens, services and legal entities. Regulation and protection depend on the specific activity, but users should not assume the FSCS or Financial Ombudsman Service will cover a protocol loss.
UK tax note
DeFi actions can have UK tax consequences even when no pounds enter your bank account. A token swap will usually be a disposal; rewards, lending and liquidity arrangements depend on their facts. Export records early and reconcile wallet addresses, GBP values and fees. Software can help with volume, but its classifications still need checking.
Tax guide
DeFi Tax in the UK
How HMRC taxes lending, swapping, and liquidity provision. The rules are more complex than for simple buying and selling.
Read DeFi tax guide →