1.0.6 • Published 1 month ago

genlend v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Lending and Borrowing Protocol

Description

This decentralized lending and borrowing protocol allows users to lend out their assets and borrow assets against collateral.

Features

  • Lending: Users can earn interest by lending out their assets.
  • Borrowing: Users can borrow assets against collateral.
  • Collateralized Loans: Loans are secured with collateral to mitigate default risks.
  • Interest Rates: Dynamic interest rates based on supply and demand.

Installation

  1. Clone the repository.
  2. Install dependencies with npm install.
  3. Configure your environment variables.
  4. Run the project with npm start.

Usage

  1. Connect your Ethereum wallet.
  2. Choose to lend or borrow.
  3. Follow the on-screen instructions to complete the transaction.

Smart Contracts

The protocol utilizes smart contracts written in Solidity. Key contracts include:

  • LendingPool.sol: Handles lending functionality.
  • BorrowingPool.sol: Manages borrowing activities.
  • Token.sol: ERC-20 token implementation.

Contributing

We welcome contributions! Please fork the repository and submit a pull request.

Testing

Run tests with npm test to ensure the protocol functions as expected.

License

This project is licensed under the ISC License.

Contact

For any inquiries, please contact (ogochukwugenevieve1234@yahoo.com).