DeFi — "decentralised finance" — is the umbrella for financial services that run on public blockchains without a custodian. You can lend, borrow, swap, and earn yield directly from your wallet, without an institution intermediating. There's no signup form, no business hours, and (usually) no KYC.
That sounds liberating. It's also why DeFi is the riskiest part of the crypto wallet's surface.
What "decentralised" buys you
Three things, all valuable:
- Custody. Your funds stay in your wallet until the protocol uses them. Compare to a bank, where the money becomes the bank's the moment you deposit.
- Permissionless access. Anyone with a wallet can use a DeFi protocol. No application form, no credit check, no jurisdiction filter (at the protocol level — your jurisdiction can still ban your access).
- Composability. Output of one protocol can feed the input of another. Lend USDC to Aave, get aUSDC, deposit that into a yield aggregator, get back a different LP token. Each step is a transaction; each transaction is just code running on the same chain.
What it doesn't buy you
A surprising number of things:
- Security. Smart contracts have bugs. Audited code has been exploited for hundreds of millions. The bigger the protocol, the bigger the target.
- Stability. Protocols change governance rules, pause withdrawals, get hacked, get sanctioned, get abandoned. The longest-running DeFi protocols are 6 years old.
- Customer service. Lose your seed phrase, send to the wrong contract, or get rugged by a malicious protocol — there is no recourse.
- Legal protection. Your DeFi use may be regulated, taxed, sanctioned, or banned in your jurisdiction. The protocol doesn't care; your tax authority does.
What the wallet exposes
Gopnik's DeFi surface is intentionally limited to audited, well-known protocols with multi-year track records:
- Lending: XLS-65/66 native lending on XRPL (Frontier Vault) + Aave on EVM (read-only in iter-A)
- AMMs: XRPL native AMM + Osmosis (via the iter-G cosmos surface) + Uniswap V3 on EVM (read-only)
- Staking: XRPL native validator delegation + Lido (read-only)
- Yield aggregators: Yearn vaults (read-only)
"Read-only" means the wallet can show your positions but cannot execute new deposits from inside Gopnik. To open a new position on a read-only protocol, use that protocol's own UI; the wallet imports the resulting position automatically.
This is deliberate. The fewer code paths Gopnik directly executes, the fewer ways your funds can move without your explicit on-chain consent.
DeFi vs CeFi vs TradFi
Three labels you'll hear:
| Term | Definition | Example |
|---|---|---|
| TradFi | Traditional finance | A bank, a brokerage |
| CeFi | Centralised crypto finance | Coinbase, Binance |
| DeFi | Decentralised on-chain finance | Aave, Uniswap, Frontier Vault |
CeFi is what most crypto users actually use day-to-day. It's custodial, KYC'd, and looks like TradFi from the outside. DeFi is what the wallet's DeFi surface gives you access to.
What you'll learn next
This 101 covers the foundations: AMMs, lending, LP math, smart-contract risk. It's the prerequisite for defi.201 (yield strategies + risk pricing) and defi.401 (Frontier Vault deep-dive). Without 101, you can't access the higher tiers — the academy gating enforces this.
Next: how AMMs actually work, with the math.