- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/BlockScore.git - Create a branch:
git checkout -b feature/your-feature - Make changes and commit:
git commit -m "Add feature" - Push and open a Pull Request
- Follow PEP 8 style guide
- Use Black for formatting:
black code/backend/ - Run tests:
pytest
- Use ESLint and Prettier
- Run linter:
npm run lint - Fix automatically:
npm run lint:fix
- Follow Solidity style guide
- Use Solhint:
solhint contracts/**/*.sol
- Write tests for new features
- Maintain >70% code coverage
- Run all tests before submitting PR
- Update documentation for new features
- Ensure all tests pass
- Update CHANGELOG.md
- Request review from maintainers
See README.md for more details.