Dprof-in-tech / peer-on-strk

https://peer-on-strk.vercel.app
1 stars 3 forks source link

Peer Protocol

Peer Protocol is a decentralized peer-to-peer lending platform built on Starknet, enabling transparent and efficient borrowing and lending of digital assets.

Overview

Peer Protocol facilitates direct lending between users through:

Key Features

Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/Dprof-in-tech/peer-on-strk.git
    cd peer-on-strk
  2. Install dependencies

    npm install
  3. Run the development server

    
    npm run dev

4. Open [http://localhost:3000](http://localhost:3000) in your browser

### Build for Production
```bash
npm run build

Contributing to Peer Protocol

We welcome contributions from the community! Here's how you can help make Peer Protocol better.

Code of Conduct

By participating in this project, you agree to abide by our Code of Conduct (see CODE_OF_CONDUCT.md).

How to Contribute

  1. Fork the Repository

    • Click the 'Fork' button on GitHub
    • Clone your fork locally
      git clone https://github.com/your-username/peer-on-strk.git
  2. Create a Branch

    git checkout -b feature/your-feature-name
    # or
    git checkout -b fix/your-fix-name
  3. Make Your Changes

    • Follow the coding style guidelines
    • Write clear, concise commit messages
    • Add tests if applicable
    • Update documentation as needed
  4. Test Your Changes

    npm run test
    # and
    npm run lint
  5. Submit a Pull Request

    • Push your changes to your fork
    • Create a Pull Request from your fork to our main repository
    • Fill out the PR template with all relevant information

Pull Request Guidelines

Development Guidelines

Code Style

Component Structure

// Use TypeScript interfaces
interface ComponentProps {
  prop1: string;
  prop2: number;
}

// Functional components with clear typing
const Component: React.FC<ComponentProps> = ({ prop1, prop2 }) => {
  // Implementation
};

State Management

Commit Messages

Follow conventional commits:

feat: add new borrower dashboard
fix: correct interest rate calculation
docs: update setup instructions

What We're Looking For

Getting Help

Project Structure

peer-protocol/app
├── components/         # Reusable React components
├── public/            # Static assets
├── app/              # The main peer protocol app

License

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

Support

If you need help or have questions:


Thank you for considering contributing to Peer Protocol! Together we can build a more accessible and efficient lending platform for everyone.