u/KrunchyKushKing

Liquidations in DeFi explained

Hey everyone, Joshua from Peridot again. Last post I wrote about where yield comes from. This one's about the word that scares people away from ever borrowing in DeFi: liquidation. It's the most misunderstood mechanism in lending, so let me explain it.

First, why it exists at all. When you borrow in DeFi, there's no credit score and no debt collector. The only thing guaranteeing your loan is the collateral you deposited and the moving crypto prices it is associated with. So every lending protocol has one job above all others: make sure loans stay backed by more value than they're worth. When a loan drifts too close to being underwater, the protocol lets someone step in, pay off the debt, and take collateral in return.

Here's the part people miss: liquidations don't protect the protocol. They protect the depositors. Every dollar someone borrows is a dollar someone else deposited. Liquidation is the mechanism that makes sure that person gets their money back. A lending protocol without liquidations results in loans which aren't being paid back.

The basic flow is the same everywhere: you deposit collateral, you borrow against it up to a limit, and there's a health threshold. Stay above it, nothing can touch you. Drop below it (usually because your collateral fell in price or your debt grew) and your position becomes eligible for liquidation. It's not a punishment and there's no one deciding to "get" you. It's automatic math.

Where protocols differ is how the collateral changes hands. Blend, which most of you know, runs auctions: when a position goes unhealthy, anyone can kick off an auction where liquidators bid to take on the debt in exchange for the collateral, and it can even happen in partial chunks. If the auction doesn't cover everything, the pool's backstop fund absorbs the hit before lenders do.

Peridot works the Compound way: a liquidator directly repays part of the debt and receives collateral at a fixed discount, instantly, no auction.

Auctions can get fairer prices for the borrower; instant liquidation is simpler and faster when markets move violently. There are real trade-offs both ways, neither is "the safe one."

Practical takeaways if you ever borrow: don't max out your borrow limit (that's how people get liquidated on a 5% dip), check your health factor like you'd check the fuel gauge, and remember volatile collateral means volatile risk. Borrowing stablecoins against blue-chip collateral at a conservative ratio is a very different animal than leveraged looping.

Liquidation isn't the scary part of DeFi lending. Loans that can't be liquidated are.

Happy to answer any questions y'all have!

reddit.com
u/KrunchyKushKing — 3 hours ago
▲ 18 r/Stellar

Where does DeFi yield actually come from?

Hey everyone, Joshua here from Peridot.

Something I wish more people asked before parking money anywhere in crypto, including with us, is the simplest possible question: where is this yield actually coming from?

Because yield isn't magic. If something's paying you 8%, 12%, 20%, that money is coming from somewhere (or it's coming from somewhere that's going to blow up eventually).

Here are some of the places real yield comes from.

Lending interest

You put money in, someone else borrows it and pays interest, you get a cut. This is the boring, sustainable one, same basic idea as a bank, except you can actually see the loans. The rate moves with how badly people want to borrow.

Examples on Stellar:

Blend - https://blend.capital/

Peridot - https://peridot.finance/

Trading fees

You provide funds that traders use to swap between assets, and you earn a slice of every trade. It comes with its own risks that are easy to underestimate, e.g. Impermanent Loss, which happens when the price gain on an asset you'd have just by holding it (say XLM) ends up outweighing the trading fees you earned by deploying it as liquidity on a decentralized exchange.

Examples on Stellar:

Aquarius - https://aqua.network/

Soroswap - https://soroswap.finance/

Token incentives

The project prints its own token and hands it to you to sweeten the rate. This is the one to watch. It's not fake exactly, but the APY you get from it depends on the token's price and how much of it gets handed out relative to how many people are claiming it. A "20% APY" that's mostly this can evaporate the moment the printing slows down or the token price drops. A lot of eye-popping numbers in DeFi are mostly this dressed up to look like the boring sustainable kind.

Examples on Stellar:

Aquarius - https://aqua.network/

Blend - https://blend.capital/

Vault strategies

Instead of you manually picking where to deposit, a vault does it for you, automatically routing your funds into one or more of the sources above (usually lending or LPing) and rebalancing as conditions change. The yield is still coming from those underlying sources, so the same questions apply, plus one more: what's the vault itself taking off the top? Most charge a management or performance fee, so the rate you see is what's left after their cut. Convenient, but always worth knowing what you're actually paying for the autopilot.

Examples on Stellar:

DefIndex - https://www.defindex.io/

So the red flags are pretty simple: yield with no explanation of where it comes from, yield paid only in the project's own coin, or a number way higher than the underlying activity could realistically produce. If nobody can explain the source in one sentence, assume you're the source.

To ask yourself this question in DeFi is very important. It's the single best filter I know of. Happy to go deeper on any of the four in the comments or for any other questions which you have.

reddit.com
u/KrunchyKushKing — 9 days ago
▲ 61 r/Stellar

A few things that surprised me about Stellar, coming from Ethereum

Quick background: I'm a developer who spent years building on Ethereum, and for the past while I've been building Peridot (a lending protocol) with Stellar as one of the chains we've gone live on. Thought I'd share a few things that caught me off guard moving over, since I don't see a lot of "here's what it's actually like to build here" posts on this sub.

​

The first surprise was a size limit on how big a single piece of code can be. On Ethereum you almost never bump into this. On Stellar it shows up early, our main piece of logic got too big to deploy, and I had to break it into several smaller pieces that work together. Frustrating at first, but it ended up forcing a cleaner design than I probably would've written otherwise, so I've made peace with it.

​

The bigger mental shift was how Stellar handles data over time. On Ethereum, once you save something it just sits there forever and you never think about it again. On Stellar, stored data has an expiration date, if you don't actively keep it alive, it gets archived and goes quiet until someone wakes it back up. For most apps that's fine, but for a lending protocol where people's balances and positions need to be readable at all times, you have to actually plan around keeping that data fresh. That took some unlearning, but honestly it's a smart design once you get used to it, the network isn't carrying dead weight forever.

We also just finished a full security audit with Halborn, and going through that on Stellar surfaced a few issues that are pretty specific to building here. Happy to get into that in the comments if anyone's curious.

​

Anyways, I just wanted to put some honest building experience out there since there's not much of it floating around. Happy to answer questions about building on Stellar if anyone's got them.

reddit.com
u/KrunchyKushKing — 18 days ago
▲ 35 r/Stellar

Peridot is now live on Stellar Mainnet – Lend, borrow, and earn ~8% APY with native fiat on/off ramps

Hey Stellar community, we have BIG news today. 🦉

Peridot is now live on Stellar Mainnet!

Peridot is a cross chain, native lending and borrowing protocol built on Stellar & Soroban. It lets you do what crypto should always let you do: put your assets to work without selling them.

What you can do right now:

- Deposit Stellar assets and start earning yield immediately

- Borrow against your collateral

- Use both together to keep your holdings growing while accessing liquidity

All Stellar markets launched as Boosted markets, so depositors are already earning around 8% APY from day one.

That's not all!

- True Fiat Integration: Get your own personal virtual account with IBAN. Move money in and out of the protocol directly via bank transfer, credit card, or USDC (CCTP). No CEX needed.

- V2 Dashboard: We shipped a beautiful new streamlined interface alongside the classic view. Both are live in the same app for maximum flexibility.

- Security First: Full smart contract audit completed by Halborn

If you’ve been looking for a simple way to earn yield on your Stellar assets while keeping full control, then Peridot is your home.

We’re here to answer any questions you have in AMA style. Would love to hear your thoughts.

Try Peridot now:

https://peridot.finance

u/KrunchyKushKing — 1 month ago