Contributing Guide
May 15, 2026 ยท View on GitHub
Thanks for helping improve RustChain.
1) Before you start
- Read:
README.mdPROTOCOL.mdAPI.md
- Search existing issues and PRs first to avoid duplicate work.
2) Recommended contribution flow
- Fork
Scottcjn/Rustchain. - Create a branch from
main. - Keep changes focused (one feature/fix/doc topic per PR).
- Test commands/examples locally whenever possible.
- Open a PR with a clear summary and test notes.
3) Branch naming
Examples:
feat/node-health-alertsfix/transfer-validationdocs/wallet-user-guide
4) Commit message format
Use short, scoped messages:
feat: add wallet export helperfix: handle invalid miner id inputdocs: improve API transfer examples
5) Pull request checklist
- PR title clearly describes intent.
- Description explains what changed and why.
- Linked issue/bounty (if relevant).
- Documentation updated for behavior changes.
- No secrets/private keys in code, logs, or screenshots.
6) Documentation contributions
For docs PRs:
- Use Markdown with runnable examples.
- Verify endpoint examples against live/API docs.
- Keep security warnings explicit (key handling, phishing, fake token mints).
7) Security reporting
Do not open public issues for critical vulnerabilities before maintainers can patch.
- Use responsible disclosure via project maintainers.
- Include reproduction steps, impact, and proposed mitigation.
8) Bounty submissions
When a contribution is tied to a bounty:
- Comment on the bounty issue using required claim format.
- Submit PR(s) and link them back to the bounty thread.
- Include wallet/miner id exactly as requested by the bounty rules.
9) Code of conduct expectations
- Be precise and respectful in technical discussion.
- Prefer reproducible evidence over assumptions.
- Keep PR review discussions focused on correctness and risk.