Skip to content

NoroMeb/lending-borrowing-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beginner-friendly decentralized lending borrowing protocol

Description

This is a simple decentralized lending borrowing protocol built for nebies developers who try to understand how web3 lending platforms like aave and compound work .

Main contracts

  • Pool

    Main point of interaction with the protocol, users can :

    • supply
    • borrow
    • withdraw
    • repay
    • liquidate undercollateralized user

    as long as the token is supported by the protocol .

  • PoolConfiguration

Allows the addition of a new token and all the related configuration .

  • PoolLogic

Validate some end-user functions in the Pool contract .

  • ReservesManager

Manage reserves and calculates debt & interests indexes .

Interact with the protocol

You can deploy all contracts on goerli testnet and set all up by running the following command :

brownie run scripts/arrange.py --network goerli

and then experiment with scripts in the script folder .

Some resources that helped build this project


for educational purposes. Not intended for real financial use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published