r/defi • • Jul 20 '22

TradFi Staking or CeFI during crypto winter?

616 Upvotes

Staking seems more of a long play but maybe that is what is needed right now. CeFI platforms like Nexo can crash and burn at anytime; already happened to several. Holding tokens in wallet not making any money isn't appealing.

What are your thoughts about staking as an alternative?


r/defi • • May 08 '21

Discussion My brain is melting

590 Upvotes

There is way too much going on in DeFi. I spend all my free time researching. Every time I look into one farming/lending/staking opportunity, I uncover 10 more. I have a thousand browser tabs open at any given moment. I can't keep track. I can't choose. Overwhelmed.

GODZILLA takes LP tokens from VOMIT and compounds them by borrowing TICKLE from ZUCCHINI and staking them in WIZARDSBUTTHOLESWAP and gives you GONORRHEA as a reward which you can sell and reinvest in VOMIT for 3756% APY.


r/defi • • Jan 06 '22

DeFi Guide DeFi Guide for Newbie (and How to Manage Risk)

555 Upvotes

Start with the coin you already have

I started with Binance Smart Chain back in March simply because I have BNB ready. I won't explain how to transfer to your wallet, tons of other guides for that.

Go to DefiLlama and check which DeFi is available in your chain. As a beginner, you should try the #1 Decentralized Exchange (DEX) in that chain. They are:

  • BSC - Pancakeswap

  • FTM - Spookyswap

  • AVAX - Trader Joe

  • MATIC - Quickswap

  • ONE - Defi Kingdom

  • SOL - Raydium

  • LUNA - Terraswap (Astroport has low traffic despite having more TVL)

  • CRO - VVS

  • NEAR / Aurora - Trisolaris

  • ETH - Fuck the gas, farm ETH in MATIC or other chain instead

If you go to their website and check out the Farm, you will see something like AVAX-USDC 30% APR

These are called Liquidity Pool and it is the primary thing to farm in DeFi.

What's Liquidity Pool?

Basically, you need to provide an equal amount of two tokens to start farming it.

If AVAX is $100 and you want to farm 10 AVAX in AVAX-USDC pool, you need to add $1000 USDC.

This means you have $2000 worth of token farming with a 30% APR (interest rate per year). This rate keeps changing though, we will discuss it further later.

Alternatively, if you don't have more capital to add in the other token, simply swap 5 AVAX into USDC.

What's Swapping?

You swap token A to token B. I'm pretty sure most of you have used it to buy shit like DaddyElonRocketInu.

These swaps are facilitated by other people who are providing LP.

Each swap has a trading fee, usually 0.3%. That fee is split between the admin and LP providers. This shared fee is where the APR comes from.

This is why the APR keeps changing. And when the market is pumping or dumping, the APR becomes high because a lot of people are trading in and out.

In addition to that fee, most DEXes give their farm token as a bonus if you stake the LP.

What's Farm Token?

When you create an LP, you immediately start accruing the trading fee. It's compounded directly to your LP.

But most DEXes allow you to stake the LP to get its farm token. For example CAKE in Pancakeswap or BOO in Spookyswap.

These farm tokens are highly inflationary and prices tend to go down. Always research its tokenomic and use case. If there are an infinite amount and the only use case is to be staked (or for voting power), it's not looking good.

There are of course some exceptions like Curve and Convex. Some organizations are buying the farm token because they want bigger voting power.

Is the APR from Trading Fee or Farm Token?

Both. The APR shown is a combination of the trading fee and farm token.

For example, the ETH-USDC pool in Sushiswap gives 35% APR. But only 4.3% in farm token, the rest is the trading fee. This means you rely almost entirely on the trading activity, which can fluctuate heavily.

Same goes for BNB-BUSD in Pancakeswap. Only 6.6% is in farm token. Currently it's sitting at 22% APR. But I have seen some days when it's sitting at like 10%.

If you don't want to keep the farm token, you can swap them to the token you're farming and compound them.

Obviously that takes a lot of effort and gas fee. This is why there is someone creating Auto-compounder like Beefy.

What's Beefy? (Auto-compounder)

Instead of staking the LP in the DEX, you stake it in Beefy. Beefy will then automatically swap the reward token and add it to your LP. While taking a little bit of profit for themselves.

This way you're saving up on gas fee and avoiding the price volatility of the farm token.

Since Beefy automatically compounds everything, they wrote the interest rate as APY instead of APR.

What's APY?

APR is the interest rate in a year.

APY is the interest rate in a year if you compound it regularly.

120% APR means 10% per month. Simply divide by 12.

120% APY (daily compounded) comes from 78.93% APR. This means if you farm there in a month without compounding, you only get 6.5%.

Use this website to convert APY to APR or vice versa https://www.aprtoapy.com

In short, APY can be misleading if you're not planning to farm long term.

Risk of DeFi

HACK

The code can have a loophole for hackers to steal your deposited LP. If you use Beefy, it exposes you to 2x the potential hack. So far Beefy is fine, but another auto-compounder like Grim Finance has been hacked.

IMPERMANENT LOSS

This is the most common horror story to spook you out of DeFi.

Basically if the price of the 2 tokens you put into LP moves differently (percentage-wise), you get less compared to holding those tokens.

Most people chose to provide LP on XXX-USD pair (XXX is usually the chain token like BNB). At least 1 of the token has a very small chance to go to zero.

XXX-USD will surely give you an impermanent loss. But hopefully, the APR covers that. You're also gaining a high-interest rate on your stablecoin. What's not to love?

Use this to calculate your impermanent loss https://dailydefi.org/tools/impermanent-loss-calculator/

Below is the Impermanent Loss if you are in XXX-USD pool:

Price of XXXImpermanent Loss
/1042.5%
/525.46%
/313.4%
/25.72%
/1.52.02%
x10
x1.52.02%
x25.72%
x313.4%
x525.46%
x1042.5%

This means if XXX is volatile, you could experience more IL. High market cap coin like ETH and BNB are less prone to volatility. So maybe at most is x2 or /2 which is only 5.72% IL.

RUGPULL

The developer could run away with your assets. You can check https://rugdoc.io/ on whether the DEX has a backdoor code that allows the dev to steal your LP.

But Rugdoc only checks the code. There is still a risk of the dev dumping its farm token to near zero. As long as you're not providing LP with the farm token, your assets are safe.

Even if the website goes down, the code still exists in the blockchain so you can manually take your LP out.

SELF MISTAKE

You might transfer your token to the wrong address.

You might mistakenly approve a fraudulent smart contract that can drain your wallet

You might get scammed by a man claiming to be a hot single girl nearby your area asking for your seed phrase.

Managing Risk and Reward

Typically, higher APR means higher risk. You need to weigh the upside and downside and decide whether it's worth a try.

LP with farm token usually gives the largest APR. Is it worth a try? Maybe... if the APR is large enough like 200% APR and it's coming from a reputable dev, then I will invest a little.

Keep monitoring the APR. Sometimes it drops fast because a lot of people are entering. If you think it's not worth the risk anymore, just pull out.

The exception is when the farm token has good use case like JEWEL.

Other good example is TOMB. It's a project that try to peg its price 1:1 with FTM. Back in November, the APY for TOMB-FTM was like 1,600%.

1,600% for essentially stable pool with small IL? Hell yeah I aped in. I know full well it's a super risky experimental project, but the upside far outweigh the downside.

Now the APY has dropped immensely. It's now sitting at 200% APY. Is it worth the risk for me? When other FTM pool gives decently high APY, it's hard to stay in there.

OHM Fork

While diving into DeFi, you will meet this category called "OHM Fork". They promised outrageous APY like 50,000% or even 1,000,000 %. It's obviously an inflationary token, so ask these questions to yourself:

What's the worst-case scenario? It goes to zero.

What's the good outcome? APY makes up for the price going down. Maybe still 4-5x your investment.

Is it worth a try? Depends on your risk assessment. There's nothing wrong with putting a little bit as long as you're ready for the worst case. If you want to try, I suggest picking one with good developer behind it like Wonderland TIME.

I'm not saying that my LP of choice won't go to zero. There's always a chance and you should be ready for that. But it's much smaller chance than these OHM fork.

Conclusion

There are a lot of opportunities in DeFi. You can be passive and farm in a trusted place or take more risk for higher reward.

Yes, it is risky, but it can be managed to minimize its risk.

What's Next? Keep on researching. There is always new stuff to learn about DeFi. One thing you might find interesting is how to utilize a lending platform for leveraged farming.

Thank you.


r/defi • • Jan 21 '26 Popcorn

Discussion I've been in crypto since 2017. Here's why I stopped believing.

361 Upvotes

I am done with crypto.

Not because I lost money... But because crypto has lost its way... And I am tired of it.

This is what 9 years in crypto taught me.

1. The Beginning (2017-2019)

I first heard about Bitcoin in 2017. I was 21, had been working for a couple of years, and had some spare cash I could afford to lose. The perfect recipe for risk-taking.

What caught my attention wasn't the price - it was the idea. New money. Money that no government could print into oblivion, no bank could freeze, no border could stop. The blockchain itself fascinated me - a distributed ledger that solved trust without needing trusted parties. As a young engineer, this was elegant.

Then I discovered Ethereum and smart contracts. If Bitcoin was digital gold, Ethereum was a programmable financial system. I remember thinking: this is how we rebuild finance. No middlemen, no gatekeepers, just code executing agreements. Over the next two years, I DCA'd around $3,000 - not life-changing money, but enough to make me pay attention.

I bought 1 ETH for $55. I still hold it today.

Back then, the community felt different. People talked about banking the unbanked, about censorship resistance, about building a more open financial system. Sure, some were just in it for the money. But there was a genuine belief that we were building something that mattered.

I tried to go deeper. In 2018, during that bull run, I bought a Sia miner - decentralized storage felt like a real use case. It didn't pan out. The economics never made sense for small players. In 2019, I joined some Romanian crypto groups and heard about trading bots that "made money while you sleep." I lost 0.05 BTC learning that lesson.

Then I tried copy-trading groups promising high returns. But the market shifted and the strategies didn't, so I was left holding the losses.

Looking back, I should have just kept DCA-ing. But I was young, and the promise of shortcuts was seductive.

2. The Rise (2021)

I discovered DeFi that year. PancakeSwap on Binance Smart Chain opened my eyes to what was possible - liquidity pools, yield farming, swapping tokens without an exchange. This felt like the future we'd been promised. Finance without banks, running on code.

My $3,000 became $30,000. Bitcoin and Ethereum climbed, but the real gains came from altcoins - EGLD pumped hard, BNB kept climbing, and I had scattered bags across a dozen tokens I can barely remember now.

At one point I was making $250 each day just from passive income and thousands of percentage yield on a single BSC farm.

I also got into some shady projects on BSC like Drip Network and later Animal Farm, among the dozen or so various animal and food themed projects that kept popping up each day.

Did I sell at $30k? Of course not.

I watched the numbers on screen and thought: "if this does another 10x, I'll be set." The logic of bull markets is intoxicating. Every dip is a buying opportunity. Every peak is just the beginning. I had no exit strategy because I never imagined needing one.

That same year, I started building. I was already a developer, and I knew about smart contracts - it made sense to put two and two together. I picked up Rust and started working on the MultiversX blockchain (then called Elrond). The tech genuinely excited me.

I also got excited about NFTs - not the profile pictures everyone was flipping, but the real use cases. Tickets on the blockchain. Property rights. Contracts that couldn't be forged. I saw smaller projects attempting this, trying partnerships with bigger brands. But when it came to real-world usage, there was too much friction. Phones couldn't scan QRs properly. UX was a nightmare. The vision was there, but the execution never arrived.

Still, at this point, I had no doubts. I was up 10x, building in the space, and believed we were still early.

3. The Fall Begins (2022-2023)

The bear market hit in 2022. I watched my $30,000 bleed down to under $10,000.

I didn't sell. Diamond hands, as we called it. I told myself I was in it for the long term, that this was just a cycle, that the people selling now would regret it later. I sold what I no longer believed in and kept DCA-ing - mostly into altcoins, chasing the next EGLD. I skipped Solana (a decision that aged poorly).

The NFT dream died somewhere in this period. What was supposed to revolutionize ownership became a graveyard of worthless profile pictures. The projects trying to do something real - tickets, property rights, contracts - faded into obscurity. What remained was speculation and wash trading. Another vision reduced to gambling.

By 2023, I had started working full-time on blockchain projects - Rust-based smart contracts, some EVM work, learning new skills. I wanted to make it as a blockchain developer. I still believed in the tech, saw its potential, and thought it was underutilized. I wanted to make a difference.

I kept building. I kept adding money. I kept DCA-ing.

By 2024, my portfolio sat at around $40,000 - partly from the market recovering, partly from the new money I had put in.

I thought I had weathered the storm.

4. The Hack (2024)

In October 2024, Radiant Capital got hacked.

I had been using Radiant to lend my BTC on Arbitrum. It was a legitimate lending protocol, not some sketchy yield farm. The yields were good, and I thought I was being smart - using my BTC as collateral to borrow USDC, then bridging it to another protocol on another blockchain for additional yield. Complicated, maybe, but this was DeFi. This was what we built it for.

I heard about the hack and checked if I was affected. The initial reports said it only impacted users who had set unlimited ERC20 token approvals. As a developer I knew better and hadn't done that. I thought I was safe.

I wasn't.

The hackers had compromised Radiant's multisig - the security mechanism that was supposed to require multiple people to approve any changes. It wasn't secure enough. They upgraded the contracts and drained everything. Every user. Every asset.

I lost 0.14 BTC. Around $15,000 at the time. And some ETH on top of it.

I remember not thinking about it in dollar terms. What hit me was the time. The years of DCA-ing. The paychecks I had put in. The discipline it took to accumulate that Bitcoin, gone in an instant because some protocol's security wasn't good enough.

There was nothing I could do. No recourse. No refund. No insurance. Just gone.

That was the moment something shifted. I no longer wanted to try new protocols. I no longer wanted to chase yields. I no longer wanted to take risks in this space.

5. What Crypto Became

Let me tell you what crypto looks like now.

Memecoins everywhere. Pump.Fun made it trivially easy to launch a token - so now there are millions of them. Every day, new coins named after dogs, politicians, internet jokes, whatever might catch attention for five minutes. Sure, blockchain is open and permissionless. That's the point. But this wasn't the vision.

Prediction markets are the hot new thing. And yes, they work - blockchain is actually good at this. But when I look at what we've built after all these years, it's mostly new ways to gamble. Memecoins are gambling. Prediction markets are gambling. NFTs became gambling. Even DeFi, with its leveraged positions and liquidation cascades, often feels like gambling.

As a dev I am guilty of enabling this myself, after all I worked as a part-time dev on a gambling platform.

Where are the real use cases? Where is banking the unbanked? Where are the event tickets on chain, the contracts that can't be forged, the censorship-resistant finance for people who actually need it?

Instead, we got infrastructure. Endless infrastructure. Blockchains building tools for other projects that are building tools for users who never arrive. Axelar built an interoperability layer - then the dev team abandoned the project. Uniswap and Aave went cross-chain, now sunsetting integrations nobody uses. Everyone is building for the retail wave that never comes.

I've seen projects die from the inside. The pattern is always the same: launch with hype, get some VC money, build infrastructure for imaginary users, watch the token slowly bleed, and eventually fade away. Sometimes the team knows what's coming and sells before the news breaks. The insiders win. Retail holds the bag.

And now, after the ETFs, even the wild west feeling is gone. Crypto used to feel like a frontier - risky, chaotic, but full of possibility. Now it's just another asset class for institutions to manipulate. The big players moved in. The regulations followed. What's left?

DeFi still works. Stablecoins have real utility. But I've started to value my privacy, and everything on blockchain is open. Looking back at 2025, I kept buying BTC thinking it was still early. Turns out gold and stocks were the better play. At least with those, I know what I'm getting.

6. Moving On

I'm not broke. Let me be clear about that.

Since 2017, I'm still in profit. Not by much - I still need to withdraw a few thousand dollars to fully break even on what I put in. But I made it through the bear markets, the hacks, the bad trades, the bots that didn't work, and I'm still standing.

I still hold some crypto. A bit of BTC. Some SUI I bought. A small bag of EGLD I can't bring myself to sell.

And that 1 ETH I bought for $55 - still there, like a souvenir from a different era.

I'm still DCA-ing into Bitcoin. Old habits die hard. But I no longer believe it will change the world. I no longer believe we're early. I no longer believe the retail wave is coming.

I've started putting money into VWCE and the S&P 500 instead. Done chasing risky plays. Maybe it's because I'm almost 30 now and no longer a 21-year-old with spare cash to burn. Or maybe I've just seen enough.

I spent nine years in this space. First as an investor, then as a developer. I learned Rust because of blockchain. I understood finance better because of DeFi. I learned hard lessons about risk, about security, about not putting all your eggs in one basket. Those lessons cost me money, but they were worth something.

Crypto taught me a lot. It just didn't become what I hoped it would.

So I'm done chasing. Done trying new protocols. Done believing the next cycle will be different. I'll keep my BTC, check the charts occasionally, and move on with my life.

Maybe I'm wrong. Maybe crypto will find its way again. Maybe the real use cases will finally arrive and I'll regret stepping back.

But I've been waiting since 2017. I'm tired.

And after nine years, I've finally learned when to take profits and walk away.

TL;DR: In crypto since 2017. DCA'd $3k, hit $30k in 2021, didn't sell. Got into DeFi, became a blockchain dev. Got hacked for $15k (0.14 BTC) through Radiant Capital in 2024. Still technically in profit, but tired of the space becoming all memecoins and gambling with no real utility. Now just DCA-ing BTC and index funds. Done chasing.


r/defi • • Apr 06 '22

DeFi Guide A DeFi Guide for Beginners: From 0 to 15% Yield in Under 40 Minutes

352 Upvotes

I've been in this subreddit for a while now and I've seen many times people asking for some guidance on how to get started with DeFi. I still remember how surprised I was when I heard of DeFi for the first time. I’d held Bitcoin and Ethereum for some time, but I hadn’t fully realized how much more I could do with crypto—so I really hope this guide will make things easier for you.  

I remember that the more I learned about decentralized finance, the more confused I was. Not only was the theory behind it complex, but I then needed to learn how to use each app and understand what was safe and unsafe. It was a difficult process, but don’t worry. This won’t happen to you because this is exactly the guide I wish I’d read when I was getting started with DeFi. Indeed, we won’t stop just at the theory, but we’ll see how to use all the tools and apps needed.

Note: I assume that you are already familiar with crypto and know what a blockchain is and how popular cryptocurrencies like Bitcoin and Ethereum work. If not, you might want to learn all of that before reading this article. If you are already familiar with crypto, keep reading to learn how to unlock the true power of your assets.

What You Will Learn in This Guide:

  • What is DeFi?

  • What Are Stablecoins?

  • Earn Yield With DeFi: Lending

    • Understanding Crypto Borrowing

    • Understanding Smart Contracts

  • What Is a Blockchain App?

  • Setting Up Your Crypto Wallet

    • What Is a Crypto Wallet and Why Do You Need One?

    • Which Crypto Wallet to Choose

    • Download and Set Up the Wallet

    • Funding Your Wallet

  • How to Use a DeFi App

  • Conclusion and Further Reading

What Is DeFi?

Before diving into the practical things, it’s important to understand the basics that power everything we are going to do in DeFi. So let’s start by understanding what DeFi is and how it differs from traditional finance. 

There are many different ways we use our money in the course of our life—buying goods, exchanging our local currency for foreign ones, getting a loan, investing in a company, and more. All these transactions are facilitated by financial corporations, like banks, controlled and owned by a small group of shareholders. 

Since anything we do with our money is controlled by these institutions, this system is known as centralized finance (CeFi) or traditional finance (TradFi). This is the financial system we are all familiar with, in which third parties control all our transactions while charging a fee for their services. For example, whenever you buy a cup of coffee by card, you and the merchant are not the only parties involved in the transaction. Your bank, the shop’s bank, and a financial network like Visa or Mastercard are typically involved too. And each party charges a fee for its service. 

Decentralized finance (DeFi) offers us all the same financial instruments and opportunities of traditional finance (like buying goods, or lending money for a yield) without any intermediary like banks or brokerage firms as they are replaced by blockchain and smart contracts. Using DeFi applications, you will be able to lend or borrow crypto from peers, trade crypto assets without any centralized entity, earn high interest, and much more. In this guide, we will mainly focus on how to use DeFi to earn a high and safe yield on USDC.

What Are Stablecoins?

Since the first Bitcoin block was mined, volatility has been one of the main problems for the broader adoption of crypto. Popular cryptos like BTC or ETH often reach dizzying heights one day and plummet to gut-wrenching depths the next. Needless to say, the huge volatility would have never allowed for the mainstream adoption of blockchain. That’s where stablecoins come in. 

Stablecoins are a type of cryptocurrency whose value doesn’t fluctuate, thus the name “stable.” They are stable because their value is based on and pegged to stable real-world assets. Usually, stablecoins are backed by currency like the U.S. dollar. 

Those are also known as fiat-collateralized stablecoins because they are backed by money issued by governments. This includes currencies like the USD, EUR, or GBP. As long as the economy of the currency’s country remains stable, so will fiat-backed stablecoins. 

Fiat-backed stablecoins are collateralized 1:1. That means for every stablecoin in circulation, a single unit of currency ($1) is kept in a bank account to back it up. If you want to trade in your stablecoin for cash, you will receive the equivalent directly from the issuer, such as Circle for the USDC stablecoin, or purchase it on a crypto exchange like Coinbase. The stablecoins corresponding to the amount you retrieved will be taken out of circulation if you redeem them with the issuer.

Earn Yield With DeFi: Lending 

Exactly as you can do in traditional finance, one of the main ways to earn yield in DeFi is to lend your funds to someone for interest. So how does that work? How do you lend your funds to someone? Is it safe? How can you be sure that you’ll get your money back?

If you had to lend $1,000 to a friend, you could agree to give him the money if he will pay it back after one year with a 10% yield. So your friend would give you back $1,100 after one year, and you would have realized a nice profit on your funds.

However, if you give the same $1,000 to a complete stranger on the internet, chances are you would never see your money again. That’s why if someone wants to borrow funds via DeFi, they must give collateral in exchange. For example, if I want to borrow $1,000 worth of USDC, I have to give $2,000 worth of ETH as collateral. This way, the other party knows that I won’t run away with their money. I know what you are thinking: “Why the hell would someone give $2,000 worth of ETH to get back $1,000 of USDC? Can’t they just sell $1,000 worth of ETH to get the money they need?” Well, this is exactly what I thought the first time I heard of crypto lending and borrowing, but don’t worry. You’ll understand everything in a minute.

Understanding Crypto Borrowing

At first glance, crypto borrowing might not seem that reasonable. However, there are many reasons for a borrower to use ETH as collateral to borrow crypto instead of selling it. 

  • Liquidity Needs: Let’s say I am a long-term holder of BTC and ETH and I have most of my net worth in crypto while holding very few fiat currencies like the U.S. dollar to pay for day-to-day expenses. However, an unforeseen event like a car accident happens and I need a great amount of USD to repair my car or buy a new one. I could sell $20,000 worth of BTC to satisfy my liquidity needs and buy it back after a year. However, if BTC appreciates in value by 30% in that year, I would incur a 30% loss. Instead of selling, I can use my BTC as collateral and borrow the amount of USD I need while paying a 5% annual fee. This way, I can be exposed to BTC capital appreciation while still having the liquidity I need to pay the unforeseen expense.

  • Investment Leverage: Another popular reason to borrow crypto is to have some investment leverage. For example, let’s say that I hold $20,000 worth of BTC. If Bitcoin appreciates by 30% in one year, I earn $6,000. However, if I use $20,000 BTC as collateral to borrow $10,000 USDC, I can then use that to buy another $10,000 worth of BTC. If Bitcoin appreciates by 30% in one year, I earn $9,000 and, after paying $500 worth of interest, I have a net gain of $8,500 instead of just $6,000. This is the same concept of using leverage as you would see in traditional finance. However, instead of getting the leverage via a broker, I get it via a decentralized liquidity protocol. 

Understanding Smart Contracts

Now that you know why someone would borrow stablecoins for collateral, there are some other pieces to add to the puzzle. If the borrower gives you $2,000 in ETH as collateral to borrow $1,000 in USDC, who’s to stop you from running away and selling it on the market? And what happens if you receive ETH, but then its value drops significantly? If the transactions happened just between you (the lender) and the borrower, the only way to make it work would be to trust each other. However, this is not the premise of blockchains and DeFi. Instead, we need a trustless system where things like this can work without needing trust and without any centralized institutions like banks. This is where smart contracts come in. 

A smart contract is a piece of code on the blockchain that runs when specific conditions are met. When you want to lend cryptos for an interest, instead of interacting directly with the borrower, the two of you will use a smart contract that manages the transaction. This is how it works:

  1. You (the lender) deposit $1,000 worth of USDC into the smart contract using a blockchain application (we’ll see later how to do this). 

  2. The borrower deposits $2,000 worth of ETH as collateral into the smart contract. 

  3. The smart contract gives the borrower $1,000 worth of USDC while locking the ETH deposit. This way, you cannot run away with the borrower’s ETH. 

  4. When the borrower deposits $1,000 worth of USDC back in the smart contract, the code will give him back the ETH deposited minus the interest needed to pay you. 

  5. You receive the $1,000 deposited plus any interest. 

  6. If, in the meantime, the value of ETH drops below a certain threshold, the smart contract will automatically sell ETH and pay you back. This way, your funds are protected against any market drop thanks to the code that runs automatically.

Now that you have learned the ins and out of crypto lending and borrowing and how smart contracts make all of this possible, you need to understand how to actually use a blockchain app and a crypto wallet to start earning your first yield with DeFi.

What Is a Blockchain App? 

As promised at the beginning of the guide, this is not an average theoretical guide. At the end of it, you will be able to actually start earning yield with DeFi by using all the tools and apps needed. That’s why it’s important to understand what a blockchain app is and how to use it.

A blockchain application (also known as a decentralized application, or Dapp) is a digital program just like any other app we use in our everyday lives. There are blockchain applications for gaming, investing, social media, and music that you can use via your browser or smartphone. The main difference from other apps is that instead of running on a centralized server owned by a company, decentralized applications run on a blockchain like Ethereum or Polygon. 

That’s why Dapps are not subject to the control of any single authority. For example, anyone can develop a social media platform like Instagram and run it on a blockchain to allow any user to publish posts or comments. Once published, no one—including the Dapp developers—can modify or delete any posts.

As already mentioned, there are blockchain applications for many different use cases including gaming, social media, and music. The ones that interest us the most are decentralized applications for lending and borrowing, also known as liquidity protocols. 

So how do we use these apps? How do we add our funds to a liquidity protocol? To do that, we need a cryptocurrency wallet that can connect to blockchain applications. Indeed, while crypto exchanges like Coinbase are the most popular options to start your crypto journey, they don’t allow you to get the most out of your crypto because you cannot connect them to blockchain applications. That’s why we need a non-custodial cryptocurrency wallet.

Setting Up Your Crypto Wallet

What Is a Crypto Wallet and Why Do You Need One?

If you’re not completely new to crypto, you’ve probably already used a cryptocurrency exchange like Coinbase or Crypto.com to buy and store crypto assets like Bitcoin or Ethereum. While they are a perfect way to get started and buy your first cryptos, they don’t allow you to fully explore the opportunities coming from DeFi and Web3. Furthermore, when you store cryptos via an exchange, you don’t fully own them because they control your private key. As the saying goes, “not your keys, not your cryptos.” 

On the other hand, with a non-custodial wallet, only you have access to your private key, and no one can control your funds. Furthermore, a self-custody wallet is also required to use blockchain applications and participate in DeFi. 

Which Crypto Wallet to Choose

There are different types of cryptocurrency wallets available on the market, with the main distinction being between hardware wallets (also known as cold wallets because they are not connected to the internet) and software wallets (also known as hot wallets), which are mobile or desktop apps. 

Hardware wallets are physical devices similar to a USB considered to be more secure than hot wallets. However, they are more difficult to use and are not recommended for beginners. On the other hand, hot wallets are easier to use because they are simple desktop or mobile applications. However, they are considered to be less secure because they are connected to the internet, and thus it can be easier for an attacker to access your private key.

The main problem with both types of wallets is that if you lose, or someone steals, your seed phrase (which is a 12 to 24-word password to access and recover your wallet), you’ve lost your funds forever. A better alternative is to use a smart wallet like Linen Wallet. Smart wallets are a new type of non-custodial wallet that offers advanced security while also being much easier to use. As such, they are the best option to get started with DeFi and Web3. So how can they be so secure while also being much easier to use? Let’s get deeper:

  • Multi-keys: Using a smart contract, Linen Wallet is secured using three keys, not just one like most non-custodial wallets. Two out of the three keys are required to make a transaction. As such, even if someone steals one key, they won’t be able to access your funds. Other non-custodial wallets only have one key, and if someone gets access to it, all your funds are lost forever.

  • Easy wallet recovery: One of the main problems with other non-custodial wallets is that you have to store your private key yourself on a piece of paper or metal card. As such, the risk of losing it is very high. Instead, Linen Wallet makes it easy to manage your private keys—one key is stored in your cloud, one in your mobile device, and one in Linen’s secure server infrastructure, so you can seamlessly recover your wallet using your cloud drive, email, and phone number.

Download and Set Up Linen Wallet

You now need to download and set up your crypto wallet to connect to blockchain apps. Click here to open the Linen Wallet page on the App Store. Once there, click on “Get” to download the app. Once downloaded, follow the instructions in the following video to set up your wallet. It will take less than a minute:

Funding the Wallet

Everything is set up, and the only thing missing is the crypto that we’re going to invest in with DeFi. So we need to deposit some funds to our Linen Wallet. There are two ways to do that:

In-app Purchase by Card

You can purchase USDC directly in the app. Just click on the “Buy Crypto” button in the “Wallet” section of the app, select the crypto to buy (in our case, USDC on the Polygon Network), and add your card details. The only drawback is that Simplex requires a 5% fee with a minimum fee of $10 (This fee doesn’t go to Linen but to the payment processor. We don’t take any fee for deposits).

Deposit Funds via an Exchange

If you already have some funds stored in an exchange, you can send them to Linen Wallet. To do that, follow these instructions:

  • Get your Linen Wallet address—Your blockchain address is like an email that can be used to send you money. You will use it when withdrawing funds from an exchange to send them to your Linen Wallet. You can find your address in the “Profile” section of the app, as shown below:

  • Important: As you can see, the address we’ve just copied is on the Polygon Network. For this reason, it is important that the exchange you are using supports withdrawal to the Polygon Network. If you use this address to withdraw but the exchange only supports Ethereum, you will send your funds to someone else. To make a practical example, let’s take the email address “[email protected].” You can imagine your address as the unique address that identifies you on a certain blockchain (“myname” would be your address), while the second part of the email is the blockchain you are using (gmail.com). If you try to send an email to “[email protected],” it won’t be delivered to the person intended. The same applies to blockchain addresses. In this case, Polygon is the network to use and your address is your identifier on the Polygon Network.Note: If you have assets on the Ethereum network, you can follow our guide on how to move them to your Linen Wallet on Polygon.

  • Send USDC to Linen Wallet: After copying your Linen Wallet address, you can withdraw funds from the exchange. You can see what the process looks like on Crypto.com in the screenshot below. As you can see, Crypto.com lets you select the network from which to withdraw USDC. If the exchange you are using doesn’t let you choose the network, DO NOT withdraw your funds.

Before we continue, please let me remind you that this is not financial advice and you should do your own research for any project or app you use.

How to Use a Defi App

So now that we’ve understood all the basic theory behind DeFi and that we know how to set up and fund our crypto wallet, it’s time to start earning a yield on our stablecoins. You already know what a blockchain app is and how it works on the back-end. Let’s now see what blockchain app to use and how it actually works.

In this guide, we’re going to use Aave, which is probably the most popular and most secure DeFi application.

By the way, I’m not affiliated in any way with Aave and I’m using it for this guide just because it’s actually one of the apps I use for my own DeFi investment.

You can find a detailed guide on how to use the app here.

Conclusion and Further Reading

You now understand all the basic theory behind DeFi. Of course, there is still much more to learn and there are many different ways to earn a higher yield—liquidity pools, impermanent loss, yield farming, and auto compounding are just some of the many things you can go deeper into. However, you already know more than 90% of crypto enthusiasts. If I receive great feedback from this first DeFi guide, I will gladly publish a new episode of this DeFi course so make sure to subscribe so as not to miss it.

If you have any questions or doubts, feel free to ask them in the comments section below. I’m always happy to help.


r/defi • • Dec 01 '21

Discussion The reason people think DeFi is so complicated is cause we never had to understand finance before. Thats how banks scammed us so easily.

334 Upvotes

With banks doing all the work for us, we never really bothered at looking deeper into our finances and how everything works. DeFi isn’t that different from banking if you break it down other than it has much more inflated numbers.

This doesn’t mean that the DeFi space is inflated, it just means DeFi is simply better for the investors than banks are. You get much higher APY from Yearn and Pickle and near zero interest on lending from other DeFi projects like Ramp.

Its about time that people finally started learning how control their finances instead of trusting banks and other financial institutions so blindly.


r/defi • • Dec 09 '21

Discussion What are your favorite OHM forks?

286 Upvotes

Fellow fiat permabears,

I’ve been staking TIME and Atlas USV. Could anyone share any OHM forks that I could take a look at?

Wonderland / TIME: https://www.wonderland.money/

-For those AVAX fans out there, the first decentralized reserve currency protocol available on the Avalanche Network based on the TIME token.

Atlas USV: https://www.atlasusv.com/

- Designed by Dr. Alex Mehr and Tai Lopez. Implements a Nobel prize winning theory. Long term project with a sustainable APY.

Cheers!

Edit: Love all these responses everyone! Checking them out.


r/defi • • Feb 04 '22

Safety I just lost over $35k to scammers. Beware out there.

280 Upvotes

For the last couple hours, I'm just staring at the screen of my computer, go to bed and lay down, come back to my computer and rinse and repeat. I just wanted to write to let it flow and also share my very expensive lesson with you.

It all started me wanting to harvest my JOE rewards on USDC.e/AVAX farm in TraderJoe. The harvest transaction didn't go even though I tried 3 times. Couple hours later I tried again, it didn't go through and I tweeted to Trader Joe team.

The scammer replied to me from the account below and asked me to message.

I'm adding the rest of the conversation between me and the scammer below.

And after this I just couldn't believe what I did. The link took me to multisync.ml and I connected my damn wallet there. Immediately they started draining my holdings in my wallet, then went to Trader Joe and liquidated all my positions. I have traced the transfers from my wallet to the scammers, but have no idea about what happened to my positions in Trader Joe. Basically, I had lost $35,000, a wallet where I paid to get to my name -umurcan.eth-, access to the all the platforms that I was using through that.

The worst is, I was unemployed and literally solely yield farming to hedge my student loan. I deposited almost the same amount of my debt, and was leveraging the fact that the return I was getting was higher than my loan's APR. While trying to earn $8-9 more, I lost $35k and my financial freedom.

Unfortunately there are many bad players here. Be safe and don't enter your private key or recovery phase anywhere.

Scammer's wallet address: 0xdF1e45e10bdcfE904136007965dB80d9e9703C3DThe first transaction where the scammer stole my ETH funds: 0x7f94c74f4dcf27f3b7c1c5d036c1ac658749e5127732796f2728d684d2c6b7fa

Edit: As some questions are coming I wanted to clarify some things.

  1. Unfortunately this was the webpage the link took me. I thought it was a legitimate website as it has most of the commonly used wallets here. I entered my private key to connect, that was the stupidest thing I could do. Now the scammer can access my wallet anytime, anywhere.

2. They withdrew 0.63 ETH and 4 AVAX from my wallet (0x9Ef49E1679725369E715B1A74578875A3b08F3F2) to theirs (0xdf1e45e10bdcfe904136007965db80d9e9703c3d)

ETH Transaction Hash: 0x7f94c74f4dcf27f3b7c1c5d036c1ac658749e5127732796f2728d684d2c6b7faAVAX Transaction Hash: 0x6fd1575afaaa0f12486acd0b915537f3ec26530773be2e9f6fddb8dfd055ae51

3. Rest of the loss occurred as they liquidated my positions on Trader Joe. The total position was over $30k, mostly on USDC.e/AVAX pool and I lent about $10k worth AVAX.

I can't track what happened to these positions. These holdings weren't transferred to the scammer's wallet and there are no activity signatures I could see.

I messaged on Trader Joe's discord but haven't heard back yet.

4. OK someone helped me on the discord and a transaction almost $30k in USDC was made couple minutes ago from Scammer's wallet (0xf8d0abd9f5f84ab70db2be5f9896f199bc6e25a00e72489a3e1492d56649ed96) to 0xd186062a1d99458982283269e3f54981c841a7c7

Transaction hash: 0xf8d0abd9f5f84ab70db2be5f9896f199bc6e25a00e72489a3e1492d56649ed96

There are 2 transactions equaling to 47,788.71 USDC ( 29,676.73 - 25 mins ago and 18,111.99 - 15 days 21 hours ago)

Edit 5: A redditor commented that the scammer's wallet was funded by Binance multiple times. I contacted Binance and even though they didn't share account details with me, they helped me file a IC3 Crime to Federal Bureau of Investigation and I think they will coordinate with them after they make an official application. Very likely that the scammer is a KYC'ed member of Binance and legal authorities will be able to get ahold.

Edit 6: Interestingly, I had noticed something in the scammer's wallet. There was multiple back-and-forth transfers between burcakdolanay.eth and that name just caught my eye as I'm Turkish too.

I'm a US resident but a Turkish citizen, so I also have filed a criminal report in Turkey after noticing this. I don't want to point fingers to that person, but it was weird that they had a back-and-forth multiple transactions in those wallets.

Edit 7: Many people are asking what I was multitasking with. I am in interviewing process with multiple companies and I was preparing for an interview that was yesterday afternoon.

Edit 8: I'm finding new information all the time. burcakdolanay.eth was sold to the scammer's wallet on December 24.

Transaction hash: 0x89c937191f6a00596d4a9936f52f6cfcd55752e7a4ba15f8fe555b307f663d08


r/defi • • Feb 10 '26 Bravo Heartwarming

Discussion Suggest some non-kyc crypto cards

272 Upvotes

I have been using pst and solcard previously, pst seemed to be a bit better but their conversion rate and fee is horrible.

Anyone here can suggest something better to use to shop online? Even some decent gv offering site works too.

Offrampinf in general is a headache so I'm figuring out this part for now.


r/defi • • Mar 09 '21

DeFi Guide Brief introduction to some of the top DeFi protocols

255 Upvotes

Hi all,

I've put together a list of some of the top DeFi projects along with a brief explanation of each:

Maker DAO - Lending/Borrowing

MakerDAO is a decentralized system for collateralized loans that people can lock up their ETH in to receive the DAOs stablecoin, DAI. When someone locks up ETH, they are able to take out a loan of a smaller amount in DAI, which is pegged to the US dollar. A deposit of $1000 ETH would allow the user to take out a loan of roughly $650. When the person wants to get their ETH back, they simply pay back their loan along with any fees. The native token of this protocol, MKR is used in a twofold manner. It primarily acts as a form of support for the loan system as the price of ETH drops. When too many loans are liquidated at once, MKR is created and sold to pay off the loans, as well as bought back from proceeds from liquidation fees. It also serves an additional role as a governance token allowing holders to vote on how high fees should be and which types of collateral should be accepted by the system’s smart contracts. Maker has become one of the flagship protocols in the DeFi boom but as we saw with markets crash caused by Coronavirus, there remains significant risk investing/pooling money in these protocols which can suddenly become destabilized due to unpredictable events. Though Covid isn’t the first existential crisis Maker has faced, having dealt with hacks in the past, the community has continued to persist and has shown impressive resilience to move past these troubles, often coming out stronger and with a more guided roadmap. It is the largest DeFi protocol by locked value at $6.57 billion.

Aave - Lending/Borrowing

Aave is a decentralized network of collateralized lending pools run by smart contracts that allow people to freely lend or borrow crypto. In December 2020, they rolled out version 2 of their protocol. Previously when holders provided crypto for collateral on loans, it was locked in to that collateral. The new update allows users to easily transfer their collateral from one coin to another without having to repay their loan or pull it out of Aave. This increases people’s ability to manage liquidation risk by being able to swap their collateral if the original asset began falling in price. The governance token, AAVE, is used by holders to determine various changes to the rules and policies of the protocol. Holding the token also provides the user various bonuses such as reduced fees/rates, higher borrowing limits, and advance access to certain pools. Aave has also innovated “flash loans”, uncollateralized short term loans that are issued and settled within the same block of transactions. Aave’s version 2 is far from the end for this project. CEO Stani Kulechov has mentioned that upcoming changes will improve and add additional nuance to both governance and its flash loans, while also working to reduce gas fees across the board.

Yearn Finance - Asset Management

Yearn Finance is a DeFi protocol that gives users yTokens in exchange for crypto deposits that are then lent out via various other services such as Aave or Compound for the highest rate of return. Yearn.finance was created by Andre Cronje who promptly gave up the protocol and transferred governance to a smart contract that requires a supermajority to institute changes. There is a fixed supply of 30,000 YFI tokens. Yearn.finance automatically reallocates investors’ funds and finds them the highest yield across various DeFi products. In other words, it gives the average crypto investor access to more advanced strategies through a user friendly user interface. It’s name recognition and ease of use will ensure that as the space continues to grow, it will remain as many investors’ first introductions to field farming strategies. Though in itself not high risk, Yearn searches a number of high yield bearing products that can oftentimes lead to investors’ funds being put into instruments they may not personally be comfortable with. Though these may not be entirely “unsafe”, It’s fair to ask whether many of the new investors being introduced to DeFi via Yearn would feel comfortable if they knew some of the riskier strategies their funds were subject to. Additionally, the nature of crypto’s rapidly changing market conditions can lead to volatile price swings across the market and the value of yield farming assets are always at risk of becoming worthless.

Uniswap - Decentralized Exchange

Uniswap is the most popular and most used decentralized exchange (dex) built on Ethereum. It made headlines last summer when it surprised early users by airdropping 400 UNI tokens (roughly $1,200 at the time) to anyone who had used the platform. The UNI token is used to govern the Uniswap exchange and holders can vote on various proposals and will eventually be the sole decision makers of Uniswap. People can use Uniswap to trade any token built on Ethereum and can also provide Eth and other tokens to supply liquidity, earning fees and sometimes other rewards. At one point Uniswap held 20% of all funds locked in DeFi protocols and had nearly 50,000 daily users and it still remains hugely popular. Due to the surprise airdrop, the token is widely distributed among the crypto community. It’s also one of the most popular platforms users are introduced to deeper DeFi concepts such as liquidity pools and yield farming. Many Uniswap users not only use the exchange for swapping their tokens, but also to earn rewards by providing liquidity. Many of these rewards provide outstanding returns which is incredibly enticing. However there’s an underlying risk to it that many people don’t understand well. It’s called Impermanent (or Divergence) Loss and it occurs when the price of the pooled token moves far from the price the user initially provided it for.When the Automated Market Maker sells tokens to maintain the desired ratio, the underlying amounts provided are sightly affected. This risk is often offset by the fees and rewards earned, but could present a significant risk in a volatile market.

Synthetix - Derivatives

Synthetix allows holders to stake their SNX tokens to create on-chain synthetic versions of real world assets such as gold, foreign currencies, and recently oil. It also allows holders to create shorting products such as iBTC or iETH. Synthetix was founded by Kain Warwick, having raised nearly $4 million in private funding from Framework Ventures. Governance was originally handled by a foundation which has since been dissolved and replaced by three decentralized autonomous organizations (DAOs) that SNX holders can vote on decisions for the future of the protocol. Synthetix had over $800 million in total locked value at its height and continues to hold above $700 million staked with over $125 million in circulating synthetic assets. Their success shows the strong demand for the ability to trade censorship free real world assets on-chain and they continue to research, develop, and release new products. Their inverse products (iEth, iBTC, iOIL etc..) are a unique way to introduce shorting strategies to DeFi newcomers as each iSynth token has an entry point, an upper limit, and a lower limit at which point the price is frozen and the inverse asset’s holder is liquidated into a USD pegged stablecoin to help manage risk. Sythentix’s strategy of bridging traditional legacy assets and new digital assets through these innovative products presents a strong case for SNX as the space develops and matures. One of the downsides to Synthetix is its unusually high collateralization ratio, requiring 750% of staked SNX to the value of the Synth asset. Additionally SNX is more volatile than other assets such as ETH which can lead to higher risk when it comes to keeping your ratio intact. Though staking ETH is available, it offers none of the reward incentives that SNX does.

Compound - Lending/Borrowing

Compound is a decentralized crypto lending and borrowing protocol run by algorithms and smart contracts. Anyone with an internet connection and a crypto wallet such as MetaMask can supply their crypto or borrow assets at interest rates set by real time supply and demand. This allows people to lend and borrow without having to negotiate terms through a middle man such as a bank. When people deposit their crypto funds into Compound, they are provided c-tokens (cETH, cDAI etc) which represent a claim to their portion of the asset pool. Similar to other DeFi protocols, loans are overcollateralized. That is, you must provide more value in crypto as collateral than you can borrow a loan for. Compound was initially started as a company by Robert Leshner and funded by VC, but since the release of the COMP token has been gradually decentralized handing control and governance to the community. Votes have been held to add coins, adjust interest rates, and various other improvement proposals. One of the inherent risks in Compound’s model is the risk taken on by borrowers who use the funds to buy more of their collateral. If an investor deposits ETH, then uses their loan to buy more ETH, a sharp drop in the price could lead to not only a call on their loan, but also complete liquidation of their collateralized ETH. Overall, Compound is fairly simple to use and understand which will continue to allow it to be a major player in the DeFi community as more people and institutions join the space.

RenVM - Assets and Derivatives

A major problem with the current DeFi system (and really, the overall crypto space) is interoperability. That is, roughly 75% of the total crypto market cap is outside of the Ethereum blockchain and thus not able to participate and interact with the current major DeFi protocols. RenVM is trying to solve this by wrapping outside assets, acting as a decentralized version of BitGo’s WBTC. Someone who holds bitcoin can send their BTC to RenVM which acts as a decentralized custodian, and then issues them the Ethereum token renBTC which is backed, and has the same value as BTC. Not limited to just Ethereum, RenVM can provide this service for just about any digital asset and smart contracting platform. RenVM’s token, REN is used as a bond to act as a validator “darknode” on the network. It requires 100,000 REN to register and run a node which is locked into a smart contract and not returned until the person deregisters their node. This encourages good behavior from participants. Every time an asset is transferred across chains, a fee is taken which is paid out to the darknode operators.

Kyber Network - Decentralized Exchange

Kyber Network is a decentralized exchange and payments tool that allows people to instantly swap their tokens for other tokens without having to deal with a centralized order book. It makes use of pools of crypto funds called “reserves” that allow for several routes to convert the tokens, ultimately finding the best price. Though similar to Loopring, the Kyber Network has a main exchange interface and swaps the token instantly, while Loopring is the underlying protocol and network of many exchanges, and functions as an orderbook. When converting ETH into another token, the Kyber smart contract first asks various reserves to get the best exchange price. Then, you’ll see the exchange rate and decide whether or not to go through with a swap. If you proceed, you will send 1 ETH to a Kyber smart contract. Once received, the reserve will do an on-chain exchange and your account will be credited with your token of choice. When converting one ERC20 token to another, Kyber uses ETH as the intermediary. That is Token A -> ETH -> Token B. KNC is the native token of Kyber and reserve holders must pay for their right to manage the reserves with KNC. Holders can also stake their KNC to the KyberDAO which gives them governance rights as well as returning a staking reward. Additionally, it allows vendors who accept cryptocurrency to accept a wide variety, but still get paid in their preferred currency. The Kyber Network works as a service in these types of transactions.

Loopring - Decentralized Exchange and Layer 2

Loopring, though similar to Kyber, is unique in this list as it is a decentralized exchange protocol, not a dex itself. What this means is that Loopring allows anybody to build a custodial order-book based exchange on Ethereum (or any other smart-contract platform) and Loopring then combines the pools on those into one massive pool and matches orders across these separate exchanges built using Loopring’s structure and participating in the network. Additionally, when you place your order, your coins remain yours until the order is executed. Your coins aren’t locked into the order book and you can cancel or adjust your order as you please. Those responsible for matching these orders, miners, are compensated for their work in LRC, and they are incentivized with higher rewards for finding better exchange rates. Loopring is also unique in that it is a Layer Two solution. That is, all transactions and trades take place off chain and thus the fees for trading are astronomically lower than Ethereum's during busy times, the downside being that it takes a bit of extra knowledge, and the desire to actually move your crypto there.

Balancer - Decentralized Exchange

Balancer is an automated market maker similar to Uniswap in that people can provide their crypto to liquidity pools to earn rewards, but differentiated by the concept that Balancer allows people to create their own Liquidity Pools with up to eight assets pooled instead of just two. The creator of the pool arbitrarily sets the weights of the underlying assets which are automatically rebalanced as the prices fluctuate to maintain the weight. This basically allows anyone to create their own self balancing index fund or invest in someone else’s. A downside to this is increased divergent loss as the prices of the various assets can fluctuate more broadly than is possible with just two assets provided at 1:1. It also leaves open big arbitrage opportunities as there is no oracle integration to bring in outside prices, thus the prices in the pools only change when someone makes a trade. BAL is the governance token for this protocol and as the protocol develops, BAL holders will be able to “help guide the protocol to its fullest potential.” Balancer specifically names some goals such as deploying the protocol on blockchains other than Ethereum, implementing layer two solutions, introducing fees at the protocol level to generate revenue, and more as examples of actions BAL holders can make.


There ya go, hope this is helpful!


r/defi • • Dec 30 '21

DeFi Strategy For the savvy Liquidity Provider it’s not impermanent loss but rather very permanent profit

251 Upvotes

Browsing around the web I’ve found that all the free LP calculators are either

  1. Online forms based therefore not very customizable

  2. Focus too much on the impermanent loss of LPs without presenting the benefits

Hence, I decided to make a Google sheet that visualizes your LP profit against underlying token price changes, taking into account the trading fees and farming rewards. The sheet download link is at the bottom of this post.

Now let’s jump into a real world example, the CHR-BUSD pair on Pancakeswap(PCS). CHR (Chromia) is a relational blockchain used for L2 and many upcoming blockchain games, such as My Neighbour Alice and CHR has also announced an 80 MM USD grant program to further develop their ecosystem.

The CHR-BUSD LP pair on PCS has the following parameters

• 10% LP trading fees in the CHR-BUSD pair

• 40% LP farming rewards in the CHR-BUSD pair

Assuming we invest 1000 CHR which is worth $560 at the time of this post and 560 BUSD into the LP for 1 year, we input that into our sheet parameter as follows

As CHR has a 25% staking reward if you stake the token, we use this value to set Token A staking APR and because the other pair is a stable coin (BUSD), for token B we use a starting price of $1 with 0% starting change and step. From coinmarketcap we know that the average yield for depositing stable coins is ~3%, hence we set that as our token B staking APR.

Using the above params, we simulate what would happen if we invested $0.56 x 1000 x 2 = ~$1120 worth of capital into the LP compared with staking the individual tokens over a set period, the sheet will then generate the following table values

Edited table screenshot to show the net pool value after lp fees and rewards

Along with the following chart

The horizontal x axis being token A price change % and the y axis being the LP and staking token profit %

We see from the above chart how LPs outperforms holding single coins even when considering the coin staking rewards. At this point, you might be wondering where’s the impermanent loss people always talk about? To see the “impermanent loss” effect we need to zoom out further, so we set the Token A step % in the chart to 20%.

Impermanent loss is not an actual loss, it just means you’d make less profit than if you had held and staked the individual tokens. For the CHR-BUSD pair, that would only occur if CHR goes up > 150% in a year, however the LP provides tremendous downside protection, as from the chart you’ll see that CHR price needs to go down more than 75% for you to suffer only a minor loss.

Let’s try simulating another pair, the BNB-BUSD

Since BNB has a staking reward of ~10%, we input that value into the parameter and assume we initially create the LP with 100 BNB and 53,000 USD.

The generated chart shows that if you invest in the BNB-BUSD LP, BNB price needs to drop by more than 60% for you to suffer a loss. The LP pair will also perform better than staking BNB and BUSD up until BNB rises more than 170% in price. On both LP pairs we analysed, the theme is similar, in that if you stake LPs for a long enough duration, it will beat holding single coins in more than 90% of market conditions while protecting your investment from downside risk.

Note however that PCS farming rewards are in CAKE and so far YTD, it tends to be inflationary which may cause your farming rewards go down over time, to mitigate that you can hedge via futures at FTX

Which funding rates are now hovering near positive***, meaning you’ll get paid interest for shorting CAKE while synthetically going long on it farming PCS LPs, effectively boosting your yields.***

And finally, to further reduce your risk and optimize yields, best to put those LPs into an autocompounding vault that automatically convert the rewards token into more LPs and redeposit it back to the pool thereby improving your APYs. For that purpose, I’d like to recommend https://happyhippo.farm , made by yours truly, where the hippos are happy and everything is awesome, like the lego movie theme song.

TL;DR: It’s very hard to NOT make money using PCS LPs farming rewards,

Google Sheet Link

LP Calculator CHRBUSD

PS: If you guys like this post, I’ll make another one regarding not delta but gamma neutral yield farming.


r/defi • • Jun 15 '21

Privacy I found Mark Cuban's defi wallet.

247 Upvotes

So Mark Cuban has a web blog at https://blogmaverick.com

He recently wrote an article about Defi

https://blogmaverick.com/2021/06/13/the-brilliance-of-yield-farming-liquidity-providing-and-valuing-crypto-projects/

In this article he states he is the sole provider of Titan/Dai on polygon chain for 75k.

https://info.quickswap.exchange/pair/0xc0e5f9a20e114fbcc93c5d643127b9388b849b4a

If we go to the liquidity chart and scroll down to "transactions" you can click a button that says "Adds"

Add TITAN and DAI $74,749 1,043TITAN 49,879DAI 0x293e...daac

If you notice, the very first add is for $74,749.

This has to be his wallet.

You can use a tool link Debank to see what assets are inside on multiple chains.

https://debank.com/profile/0x293ed38530005620e4b28600f196a97e1125daac

This is not 100% accurate. If you do something like provide liquidity for a pair, then deposit into a farm, debank cannot see that farm. It's still developing, but this will show all assets.

I have no idea how much of this is investing and how much is experimenting. There is roughly 8 million USD that debank can see, definitely check out the history to see what kind of transactions he is making if you are interested.

2 days ago


r/defi • • May 20 '22

Meta The state of this sub sucks

240 Upvotes

This whole sub is just paid copywriting. Not to mention by existence of being here I have paid copywriters constantly sending me advertisements direct to my inbox?

There's literally only one active mod here - u/Oddsnotinyourfavor - who apparently can't assign new mods because of his permissions? tf

We had talked around ~92k followers about setting up a Discord for this community @ 100k followers, but this subreddit is wasted potential and I wouldn't launch @ 100k with the current framework.

Every other moderator here is either AFK from Reddit or participate somewhere else and neglect this community altogether:

u/adinxn is AFK

u/Khaden is AFK

u/charmcitycuddles doesn't really post here

u/Blueberry314E-2 posts in other places and doesn't really post here

u/PutinPoops posts in other places and doesn't really post here

u/Oddsnotinyourfavor kind of at mercy of whoever is in charge here (which is apparently nobody)

Let me be clear - I've messaged the mod team multiple times (some individuals, too) and only get responses from Odds. We're both very involved in DeFi (I do it full time), and the name r/defi is held by a group of people who don't look at it as far as I can tell

I get that people have lives, but at least set it up so that if you can't participate others can take up some responsibility.

I'd like to clean up the paid copywriting nonsense and at least add some damn flairs here? Odds and I have talked about some really cool ways to build a solid community here (especially if you DO want to advertise your product without paying redditors to copy paste your shitty scam protocol), but I kind of feel at the mercy of neglect

Anyways rant over, worse comes to worse I can at least talk to Reddit admins? The hell is the process for this? Anybody else feel this way or at least want to make this subreddit less shit?

edit: if it wasn't already obvious, I get like 20 of these fucking messages a week:

> Hey, saw you posting about Avalanche in r/defi, I loved the input there. Just reaching out to get your opinion on [redacted].

Bitch I've said nearly nothing about Avalanche on here, I should literally be getting paid to have ads sent directly to my inbox, infuriating


r/defi • • Jul 13 '22

TradFi Nexo Claims a Co-Founder Walked Away With Millions in Company Assets

Thumbnail
businessinsider.com
239 Upvotes

r/defi • • May 09 '21

Cross-Chain Migrating to Layer 2. How to easily move your funds to Polygon (MATIC) and begin saving on gas fees

237 Upvotes

It’s no secret that one of the biggest problems currently facing Ethereum is the high fees to do anything more than just sending coins. A simple swap on Uniswap can cost upwards of $50 in fees during high usage times and it is a major barrier to entry for many users. For months people have been proclaiming layer 2 solutions as the current fix until Eth 2.0 becomes a reality, but a lot of this advice can seem superficial. I myself am guilty of proclaiming the benefits and ease of layer 2s like Polygon or Loopring long before I actually took the time to learn how to connect and begin using those platforms.  

For people just joining the space who are already having a hard time wrapping their heads around the sheer number of layer 1 cryptos, an additional step onto a layer 2 side chain can seem like just too much. The good news is that it’s really easier than you think. I've put together a simple tutorial here to hopefully guide you on your way to near zero fees while taking full advantage of decentralized finance solutions.  

For the purposes of this tutorial, I’ll assume you already have a Metamask wallet, which would be set to connect to the Ethereum Mainnet as the standard. To begin, you will want to click on where it says “Ethereum Mainnet” at the top of the Metamask Extension and click on the option in the dropdown that says “Custom RPC” and you will want to enter the following information:  


Network Name: Matic Mainnet  

New RPC URL: https://rpc-mainnet.maticvigil.com/  

Chain ID: 137  

Currency Symbol: MATIC  

Block Explorer URL: https://explorer.matic.network/  

 

This will allow your Metamask to connect to the Polygon network. You’ll now want to navigate to https://wallet.matic.network/ which will then ask you if you want to connect your Metamask. Select that option. You will then see a banner showing that you have a $0 balance and an option to move funds from your Ethereum Wallet to the Polygon Wallet.  

Select “Move Funds to Matic Mainnet” and on the next screen, make sure the Transfer Mode is set to “PoS Bridge”. Select the token and how much you want to move over, and then click “Transfer”. Click Continue through the the next few screens which are just confirmations of gas fees and your intended transfer. The fee here is an Ethereum network fee and will be the only major fee paid for moving your assets to Polygon. Once on the network, fees are near zero.  

After you do this, go to your Metamask, click on where it says “Ethereum Mainnet” at the top, then click on the Matic Mainnet option we set up in the beginning. Now you can navigate to any dApp that has integrated Polygon’s Matic layer 2 solution such as Aave, or Quickswap.  

I hope this helps!


r/defi • • Jan 18 '22

Help Can someone help me understand where around 100k went?

226 Upvotes

I had put a bunch of money into Wonderland. Of course it went down a lot and I was somewhere around the 100k range. I had a loan with Abracadabra but I checked it just days ago and the health was still around 50% and even if I was liquidated I don't think it should have taken everything. I use a Ledger for all transactions.

So I'm trying to figure out how everything left this address: 0x298A5A1EBe67A82Fa13D14A81382dBD34FbA01AC

I understand people are very sensitive about these kind of posts. I apologize but all I am asking is for someone to help me understand what happened. Obviously I'm devastated, my wife is in tears but tells me it's just money and we'll get by, but I feel like I'm burning alive. The only thing left for me to do at this point is at least understand why or how this happened and I don't get why the transaction history doesn't seem to explain it.

Thank you.


r/defi • • Jun 24 '22

Discussion Does anyone know any real web3 use cases and/or broader adoption?

215 Upvotes

So I’ve been looking into web3 for awhile and I’m starting to think there’s something I’m missing.

So looking at some history, blockchain companies raised a lot of money during the first hype cycle in 2017 on ICO’s. I grew interested in the technology as well, and some of my friends still continue to work in this field. Apart from trading/finance, no other product has gained traction in the web3 age after 4 years and I am a little skeptical.

I understand that web3 is essentially a decentralized web in which your data is your property, with your wallet, you can authenticate anywhere and instead of companies like Google and Facebook, users can be compensated for ad revenue and that everything is secure.

But I was wondering what more real-world use cases does web3 provide that web2 does not? I understand that the things I said are all excellent - but how much functionality can you get out of web3 that you can’t get out of web2?

Hopefully I’ll be able to see successful applications soon. Thanks in advance!


r/defi • • Mar 31 '21

Lend & Borrow Risks of Anchor Protocol savings?

208 Upvotes

I’ve been looking at anchor protocol as the go-to place to store my stablecoins when I scale out of crypto before the next bear market.

However I can’t seem to find any material online that highlight all the risks on UST deposits in Anchor. For example, how secure and safe are the deposits in the event of a LUNA or ANC flash crash? Are there any other risks that our deposited capital would be lost?

Edit: I've added a comment with my risk assessment below.

Edit 2: Added a new comment about Anchor's latest response, where TFL will be adding 50m UST to the Anchor Yield Reserve.

Edit 3 (10th Jan 2022): Analysis of long term sustainability of 20% yield.

Edit 4 (15 May 2022 Post crash): Reflections and lessons for posterity.


r/defi • • Nov 05 '22

News Biggest DeFi Hacks in October 2022

Thumbnail
halborn.com
205 Upvotes

r/defi • • Feb 06 '22

Discussion I'm starting to lose faith that defi is the future of finance

205 Upvotes

This just seems unsustainable. all these platforms try to lure in TVL with high yields but often times the rewards are paid in the platform's hyperinflationary token. 200% APY gets eaten into literally nothing as the value of the reward plummets over time.

sure, you'll tell me to harvest and sell often, but that just accelerates the downfall.

and what happens when all these coins eventually burn out emissions? they fork some new coin and repeat? I dont see how this is safer and more sustainable than just parking money in treasuries or stock market funds.

after a year of messing around on defi, it seems the best thing I've done so far is just park money on yieldyak single staking stables for 5-10%. yes, its helluva lot better than fiat bank rates, but its not exactly revolutionary.

chasing 5% in what we all agree is not exactly a totally safe environment isnt going to lead to a hurry up in mass adoption IMO.


r/defi • • Jul 14 '21

DeFi Guide Deep dive into Terra Ecosystem

204 Upvotes

Sooo, I initially wanted to post this in r/CryptoCurrency but do not have enough comment karma, so I been posting to some other subreddits...lol

Hey all,

Been lurking around for a while and first time making a post. Recently I haven't really been seeing any deep dives or project highlights, seems that posts are just hopium, some technical analysis here and there for a breakout or breakdown, and the obligatory Elon hit piece. So to spice things up I'd like to present my case for Terra and why I believe it is such an exciting project with huge potential for growth!

I remember the first time getting into crypto I was just blown away by the possibilities in blockchain and defi (tbh I'm still very new only been in the space for a few months), maybe many of you remember those first moments as well! It feels like partaking in a revolution that will change the world. However, defi on Ethereum for the average Joe is complicated as projects tend to run independently and are also prohibitively expensive with the gas fees. MATIC network integration has helped lower gas fees but makes the ecosystem even more complicated IMO. Plus not many exchanges support Matic Network which means moving funds still costs a lot of gas. So for the past few weeks I've been playing around in the Terra Ecosystem and been loving it! Projects are all interconnected and built on top of each other which creates a uniquely seamless experience that just...flows. Prior to the crash in May, Terra had not yet undergone a "trial by fire". Prior doubt for how Terra would do in a market crash has now been largely assuaged, and the robustness of the systems has been proven. Add to that the low gas fees and it really does feel like defi made for the masses.

What is Terra?

Terra is a blockchain built on Cosmos SDK and developed by Terraform Labs, a company based in South Korea founded by Do Kwon. Its core product is an algorithmic stablecoin called UST. The way UST works is a bit complicated but Ill try my best to explain. UST is pegged to another token called LUNA. UST retains the peg by either burning LUNA to increase the supply of UST (by buying UST), or minting LUNA to decrease the supply of UST (by selling UST). This creates an opportunity for arbitrage where users are incentivized to keep the peg. For example, if UST loses the peg and becomes 1.50$, people will sell their LUNA to UST, increasing UST supply and lowering it until it reclaims the peg. In reverse, if UST is .50$, users will buy LUNA which decreases UST supply until it reclaims the peg. There are videos explaining this here:

https://www.youtube.com/watch?v=7HLiZxkbxfY&t=917s

https://www.youtube.com/watch?v=HL8tcVHyHMM

However, decentralized algorithmic stablecoins have largely failed to hold their peg in the past and gone to 0. (DAI, which is also supposedly 'decentralized', holds a large portion of assets in USDC to back it, which conversely makes it centralized.) This is because of something called the "death spiral" where black swan events create enormous pressure to sell the stablecoin, something we saw in the crash back in May. UST lost its peg and dropped to ~.94$ before making a full recovery over the course of a few days. This is actually extremely positive for Terra as a whole, because UST was able to prove its validity in a real world scenario (one of the worst weeks in crypto history) and survived through the crash. Since then, the team behind Terra have implemented reforms to the system to make it even more robust in high volatility market scenarios. So how was UST able to reclaim its peg where so many others have failed? By creating an ecosystem that drives organic demand for UST, and this is where other projects in the Terra Ecosystem come into play. As I mentioned before, the Terra Ecosystem just flows, and you will see why.

Anchor & Mirror Protocols (backbone of the Terra ecosystem):

In traditional finance, the first step to access financial services is to open a bank account. On Terra, this takes the form of Anchor.

Anchor is a defi savings platform that offers a stable ~20%APY on UST deposits. It provides the most basic services of a bank, depositing and borrowing. In contrast to other defi protocols, Anchor's main selling point is in guaranteeing the stability of its interest. How is it able to offer stable high yields? Borrowers post collateral in the form of bLUNA (which exchanges 1:1 with LUNA). Since LUNA is a POS cryptocurrency, it generates around 13% interest currently and this interest along with interest on the loan itself is given to depositors. 20% interest is achieved by over-collateralizing the loans.

However, what would happen if there are not enough borrowers to keep up with depositors?

A few months ago this question could only be answered in theory. Today, it can be answered in hindsight. Anchor has a reserve fund where extra yield is deposited. The yield reserve fills up during bull markets when more people are borrowing. This is then used to pay depositors during bear markets when people begin to de-risk and there is less borrowing. The system was given a big test in May when LUNA crashed and many borrowers were liquidated. Since then, the yield reserve has depleted rapidly which forced Terraform Labs to step in and inject capital into the reserve (which happened today). Terraform Labs sees this as a one-time intervention to give Anchor enough time to develop into a fully self-sustaining system. Anchor has increased LTV (loan-to-value) ratio since then meaning you can borrow more, is working on decreasing the risk of liquidations, and will soon be implementing the use of bETH as collateral (bSOL, bATOM, and more are in the works). A less volatile asset like ETH *should increase the amount of borrowers.

After opening a bank account, the next step might be to begin investing by buying equities. Enter Mirror Protocol.

Mirror is a synthetic stocks trading platform akin to Synthetix on Ethereum for those who are familiar. What sets Mirror apart are its liquidity pools and integration with Anchor. Depositing on Anchor creates a transaction that yields a token called aUST (Anchor UST). This can be thought of as a receipt for your deposit. Users are able to take the aUST and short-farm massets (Mirror assets) on Mirror to stack yield. The aUST represents your Anchor deposit and so is by itself an appreciating asset, meaning you are not losing the yield from Anchor by moving the aUST to Mirror.

Interest on Mirror is paid out in MIR tokens, which can then be used to stake for 18%APR and participate in governance proposals, deposited with equivalent UST into the MIR Long Farm for even greater yields, or exchanged for UST and deposited back into Anchor. Long/short farming on Mirror allows you to create "delta neutral" strategies where you short and buy the same asset and stack the yields from both sides. You are protected by the volatility of the underlying asset by buying and shorting at the same time - thus delta neutral. There's a great overview of interesting strategies here:

https://www.youtube.com/watch?v=Ttqo4s6is5c&t=1042s

As a side note, MIR only has a market cap of around 200 million, whereas Synthetix (SNX) has market cap of 1.3 billion. However, Mirror has higher TVL than Synthetix.

Granted, MIR price has been falling, but I think it represents significant undervalue that will eventually be recognized.

But perhaps buying or shorting massets tied to individual stocks is too risky for you and you would prefer the relative safety of ETFs. In that case you won't have to wait much longer!

Enter Nebula Protocol. Though yet to launch, Nebula aims to decentralize ETF investing by creating "clusters" of massets on top of Mirror. This means the ability to buy safer diversified ETFs while also allowing for some very interesting themes such as a Meme Coins Cluster that is essentially an ETF of meme coins for the more speculative amongst us. Clusters will be created with input from the community.

New Projects: Pylon Protocol and Orion Money

Pylon Protocol has been the newest project to launch in Terra. It is primarily a launchpad for Terra based projects that serves some other functions as well. Notably, it will integrate with Anchor by allowing users to deposit into the system and then using the yield from Anchor to pay for recurring transactions (eg. subscriptions, loan payments, etc). At the end of the term, you receive your initial deposit back in full.

Orion Money is a cross-chain stablecoin application that leverages the yield of Anchor allowing for the deposit of other stablecoins like USDT, USDC, DAI, and BUSD.

Future Projects:

There are too many to get into, so you can look for yourself here.

Also shoutout to Angel Protocol that is creating perpetual charity donations through delegation of LUNA and donating the returns!

Airdrops:

Saved this for last as the cherry on top. The Terra ecosystem is probably the most generous to its users in terms of airdrops. LUNA stakers are automatically eligible to receive weekly airdrops which can last up to two years from launch. Projects currently giving weekly airdrops include Anchor, Mirror, and Pylon Protocols. New projects launching on Terra often have "genesis" airdrops, which can be quite substantial. Nebula and Orion have both announced genesis airdrops! Furthermore, new projects often offer pre-sales to members of the community. The newly launched Pylon Protocol sold its MINE token for .01$ each during pre-sale and is already worth .08$ a few weeks later. (Currently Pylon's Phase 2 launch is letting users deposit UST for fixed terms which generate interest in the form of MINE tokens) Typically a company IPOs after all the big investors have already bought in. Retail (you and me) are the last on the train. Pre-sales are like getting into a company before its IPO, and Terra has set this precedent early on. Due to the interconnectedness of projects in the ecosystem, once the precedent has been set, I believe that users would expect it and new projects would be incentivized to follow suit.

*Note: airdrops are taken into account when calculating LUNA staking rewards.

Overall, the ecosystem is still young but the integrations are incredible. It feels more like a cohesive unit than other defi projects. I think this is quite compelling because it creates better user experiences and can flourish on its own. Once you enter, there's no need to exit. Even if other blockchains or exchanges don't adopt UST (though I don't believe this to be the case. Recent announcements from Bitfinex listing UST, Harmony One partnership, Solana integrations suggest adoption is increasing and certainly many more to come), the Terra ecosystem will continue to thrive. And finally, to close the loop, organic growth fueled with greater external adoption will drive demand for UST where even in market downturns, people will continue to use UST in protocols such as Anchor thus securing the accuracy of its peg and legitimizing UST as the best decentralized stablecoin.

TLDR: Terra has created a truly decentralized stablecoin within a flourishing ecosystem in the form of UST that has proven its resistance to drastic market volatility. However, Terra's vision doesn't stop within its own ecosystem, it aims to be the most utilized decentralized stablecoin on all blockchains. Given all the FUD surrounding USDT, the centralization of USDC and DAI, it seems that the defi space really is in need for a true decentralized stablecoin.

Disclaimer: I hold LUNA as well as MIR so may be biased in my perspective. However, during these bearish times, greater conviction to hold can only be granted by greater understanding of the underlying asset. Stay safe out there!

Also, any Terrans out there that would like to add or correct anything please feel free to do so!


r/defi • • Jun 23 '22

Stablecoins How to capitalize on USDD depeging if you can't short it

201 Upvotes

Since I found a place to capitalize on celsius impending doom I've been pretty into prediction markets, Polymarket just added a market on which stable coin is going to depeg next and honestly I think if one is going to depeg soon it has to be USDD.

Justin can pump as much money as he wants into it but at the end of the day it's built exactly like Luna, whales are just lurking right now and squeezing it a bit.

if USDD depegs ROI is 85% right now, that's a gamble I'm willing to take.

link to market


r/defi • • May 06 '24

Discussion Are memecoins fully dependent on Bitcoin?

200 Upvotes

In this post I will discuss the effect of the Bitcoin price on the price of memecoins, how it is possible to get out of this endless price circle and whether memecoins can do 1000x or so, even when Bitcoin is down bad.

Bitcoin as the largest and most widely known cryptocurrency has an undeniable impact on all other altcoins, both memecoins and large altcoins like Ethereum and Solana. Fluctuations in the price of Bitcoin often change investor sentiment and can affect trading behaviour across the entire ecosystem, including memecoins.

Historical data suggests that memecoins frequently exhibit a high degree of correlation with Bitcoin. A nice proof of this can be seen in the last bullrun, when a number of memecoins reached several hundred million market cap, but once Bitcoin started to fall, many of them fell to almost zero

Despite this set trend, we can observe many memecoins that defy this rule and manage to grow even in the bearmarket (or beartrap we have seen in the last month) such as Pepe, Ponke or Yewif. But what's behind the success of these memecoins? I consider the biggest catalyst for success to be these memecoins communities along with the dev/admin team. Various features or conveniences of these tokens can also play an important role. As an example, BONK and his BONKbot, which is a buy bot on Telegram.

To sum it up, while it is evident that Bitcoin has an impact on altcoins, their level of dependence is influenced by a number of factors and it is important to note that if the right set of factors come together, memecoin can easily grow even when the rest of the market is down.

Do you have the same opinion on this?


r/defi • • Nov 18 '22

Hack Explained: The DFX Finance Hack (November 2022)

Thumbnail
halborn.com
197 Upvotes