This guide contains tips, tricks, and best practices for developing Kora.
- Feature branches:
feature/descriptionorfix/description - Main branch: Always deployable, protected
- No direct pushes: Use PRs for all changes
Use Conventional Commits for automatic versioning:
# Features (minor version bump)
git commit -m "feat(lib): add Token2022 support"
git commit -m "feat(rpc): implement new signAndSend method"
# Bug fixes (patch version bump)
git commit -m "fix(cli): handle invalid keypair format"
git commit -m "fix(rpc): validate transaction signatures"
# Breaking changes (major version bump)
git commit -m "feat(lib)!: change signer interface"
git commit -m "feat: remove deprecated methods
BREAKING CHANGE: removed getBalance method, use getAccountBalance instead"
# Other types (patch version bump)
git commit -m "chore(deps): update solana-sdk to 2.1.10"
git commit -m "docs(readme): add installation instructions"
git commit -m "refactor(lib): simplify token validation logic"- Create feature branch:
git checkout -b feat/my-feature - Make changes with conventional commits
- Add tests for new functionality
- Update docs if needed
- Create PR with descriptive title and body
- Address review feedback
- Merge (squash merge preferred)