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