Skip to content

Latest commit

Β 

History

History
94 lines (73 loc) Β· 1.97 KB

File metadata and controls

94 lines (73 loc) Β· 1.97 KB

Contributing to Bun-Eth

Thank you for your interest in contributing to Bun-Eth! This document provides guidelines and instructions for contributing.

πŸš€ Getting Started

  1. Fork the repository
  2. Clone your fork:
    git clone https://github.com/Bun-Eth-Community/bun-eth.git
    cd bun-eth
  3. Install dependencies:
    task install
  4. Create a branch:
    git checkout -b feature/my-feature

πŸ“ Development Workflow

  1. Make your changes
  2. Add tests for new functionality
  3. Run tests:
    task test
  4. Commit your changes:
    git commit -m "feat: add my feature"
  5. Push to your fork:
    git push origin feature/my-feature
  6. Open a Pull Request

🎯 Commit Message Guidelines

We follow Conventional Commits:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • test: - Test additions or changes
  • refactor: - Code refactoring
  • chore: - Maintenance tasks

Examples:

feat: add wallet balance caching
fix: resolve contract deployment issue
docs: update API documentation

πŸ§ͺ Testing Requirements

  • All new features must include tests
  • Maintain or improve test coverage
  • Tests should pass before submitting PR

πŸ” Code Style

  • Use TypeScript strict mode
  • Follow existing code patterns
  • Format code with Prettier (if configured)
  • Use meaningful variable names

πŸ“š Documentation

  • Update README.md for new features
  • Add JSDoc comments to public APIs
  • Update example code if needed

πŸ› Bug Reports

Include:

  • Clear description of the issue
  • Steps to reproduce
  • Expected vs actual behavior
  • Environment details (Bun version, OS, etc.)

πŸ’‘ Feature Requests

Include:

  • Clear use case description
  • Proposed implementation (if any)
  • Potential alternatives considered

βš–οΈ License

By contributing, you agree that your contributions will be licensed under the MIT License.