Thank you for your interest in contributing to QuorumCredit! We welcome contributions from developers, researchers, and DeFi enthusiasts.
To ensure a smooth collaboration process, please follow these guidelines.
When creating a new branch, please use one of the following prefixes followed by the issue number or a short description:
| Prefix | Purpose | Example |
|---|---|---|
feat/ |
New features | feat/163-add-contributing-guide |
fix/ |
Bug fixes | fix/issue-55-auth-error |
docs/ |
Documentation changes | docs/update-readme-yield |
refactor/ |
Code refactoring | refactor/optimize-vouch-loop |
test/ |
Adding/updating tests | test/add-slash-coverage |
We follow the Conventional Commits specification for our commit messages:
type: description
Common types include:
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, etc.)refactor: A code change that neither fixes a bug nor adds a featuretest: Adding missing tests or correcting existing tests
Example: feat: add user authentication to request_loan
- Fork the repository and create your branch from
main. - Code: Implement your changes.
- Test: Ensure all tests pass locally (see Testing below).
- Style: Run formatting tools (see Style Guide below).
- PR: Open a Pull Request against the
mainbranch.- Provide a clear description of the change.
- Link any related issues (e.g.,
Resolves #163).
All contributions must pass existing tests. Before submitting your PR, run the following:
# Run all Soroban contract tests
cargo test
# Run tests with output for debugging
cargo test -- --nocaptureIf you are adding a new feature, please include corresponding test cases in src/lib.rs.
We follow standard Rust formatting conventions. Please run the following before committing:
cargo fmt --allHappy Coding! 🚀