Skip to content

MicroLend is a decentralized platform enabling peer-to-peer lending with collateralized loans. Built on the Stacks blockchain, it ensures security, transparency, and efficiency in managing digital asset loans. Features include advanced loan management, collateralization, and secure liquidation mechanisms.

License

Notifications You must be signed in to change notification settings

emmanuelist/decentralized-bitcoin-backed-microlending

Repository files navigation

MicroLend - Decentralized Microlending Platform

Vercel Status

Built with Clarity on Stacks | Bitcoin-backed lending | No-code friendly

MicroLend is a decentralized microlending platform built on the Stacks blockchain, enabling peer-to-peer lending with collateralized loans. The platform provides a secure, transparent, and efficient way to facilitate lending and borrowing of digital assets.

Tags

Features

  • User Dashboard

    • Comprehensive overview of loans (active, pending, liquidated)
    • Reputation metrics tracking
    • Total borrowed amount monitoring
  • Loan Management

    • Intuitive loan request creation
    • Real-time validation
    • Active loans tracking
  • Collateral Management

    • Whitelisted collateral assets
    • Dynamic asset price updates
    • Liquidation threshold monitoring
  • Platform Security

    • Emergency stop mechanism
    • Role-based access control
    • Secure smart contract integration

Technology Stack

  • Frontend

    • React with TypeScript
    • Tailwind CSS for styling
    • Lucide React for icons
    • Vite for build tooling
  • Blockchain

    • Stacks blockchain
    • Clarity smart contracts
    • Hiro Wallet integration

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Hiro Wallet browser extension

Installation

  1. Clone the repository:

    https://github.com/emmanuelist/decentralized-bitcoin-backed-microlending.git
    cd frontend
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Build for production:

    npm run build

Smart Contract Integration

The platform interacts with the following main smart contract functions:

  • create-loan-request: Create new loan requests
  • liquidate-loan: Handle loan liquidations
  • update-asset-price: Update collateral asset prices
  • toggle-emergency-stop: Emergency platform control

For detailed smart contract documentation, see Smart Contract Documentation.

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Security

For security concerns, please review our Security Policy.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the GitHub repository or contact the team at emmanuelpaul152@gmail.com

Acknowledgments

  • Stacks Foundation
  • Hiro Systems
  • Open source community

Deployment

The application is deployed on Vercel. Visit MicroLend Platform to access the live version.

About

MicroLend is a decentralized platform enabling peer-to-peer lending with collateralized loans. Built on the Stacks blockchain, it ensures security, transparency, and efficiency in managing digital asset loans. Features include advanced loan management, collateralization, and secure liquidation mechanisms.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published