Back to Documentation

Contributing to DRP

Thank you for your interest in contributing to the Decentralized Rights Protocol! Every contribution helps make DRP better.

Getting Started

Follow these steps to start contributing to DRP.

1. Fork the Repository

Fork the DRP Blockchain repository on GitHub to create your own copy.

2. Clone Your Fork

git clone https://github.com/YOUR-USERNAME/Dr-Blockchain.git
cd Dr-Blockchain

3. Create a Branch

git checkout -b feature/your-feature-name

Use descriptive branch names like feature/add-new-consensus or fix/security-issue

4. Make Your Changes

Write your code, add tests, and ensure everything works correctly.

5. Submit a Pull Request

Push your changes and create a pull request with a clear description of what you've changed and why.

Contribution Guidelines

Code Style

Follow PEP 8 for Python code. Use meaningful variable names, add comments for complex logic, and keep functions focused.

Testing

Add tests for new features and ensure all existing tests pass. Aim for good test coverage.

Documentation

Update documentation for any changes you make. Include docstrings for new functions and update README if needed.

Pull Request Process

  1. 1Ensure your code follows the project's style guidelines
  2. 2Write clear commit messages describing your changes
  3. 3Ensure all tests pass and add new tests if needed
  4. 4Update documentation to reflect your changes
  5. 5Submit your pull request with a clear description

Ready to Contribute?

Check out the repository and start contributing today!

View Repository