Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.45 KB

File metadata and controls

43 lines (33 loc) · 1.45 KB

Development Guide

This guide contains tips, tricks, and best practices for developing Kora.

Development Workflow

1. Branch Strategy

  • Feature branches: feature/description or fix/description
  • Main branch: Always deployable, protected
  • No direct pushes: Use PRs for all changes

2. Commit Messages

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"

3. Pull Request Process

  1. Create feature branch: git checkout -b feat/my-feature
  2. Make changes with conventional commits
  3. Add tests for new functionality
  4. Update docs if needed
  5. Create PR with descriptive title and body
  6. Address review feedback
  7. Merge (squash merge preferred)