Chapter 4

Making Your First DeFi Transactions

IN THIS CHAPTER

Bullet Making a decentralized loan

Bullet Borrowing against your collateral

Bullet Executing a trade on a decentralized exchange

This chapter walks you through the steps to lend, borrow, and execute a trade, all without relying on a CeFi intermediary such as Coinbase (www.coinbase.com) or Gemini (www.gemini.com). Specifically, I show you how to use the Compound and Uniswap DeFi protocols developed on the Ethereum blockchain. Both protocols are available on the Ropsten Testnet in addition to the Ethereum Mainnet. I don’t dive into too many details as to how decentralized lending or borrowing (via Compound) or decentralized trading (via Uniswap) actually works. The point is to get your hands dirty with some initial DeFi experience, so I defer more detailed discussions of the underlying mechanics until Chapter 6 and Chapter 7, respectively.

Remember To work through this chapter, you need to have installed the MetaMask browser extension (see “Setting Up Your Wallet” in Chapter 3) and set up your wallet with a funded account (see “Funding Your Account” ...

Get DeFi For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.