This video explains how code a Solidity smart contract that will lend ERC20 token to Compound and earn interest.

Code 0:50
Test 6:41
Demo on Ganache 8:59

https://github.com/t4sk/defi-by-example
https://compound.finance/docs

#DeFi #Compound #SmartContract #Solidity #Ethereum #スマートコントラクト

Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Forum https://jiruto.com/SmartContractProgrammer/Smart-Contract-Programmer/discussion
Website: https://smartcontractprogrammer.com

#defi #smartcontract #solidity #ethereum

Compound - Supply and Redeem | DeFi
7.60 GEEK