Thank you for your interest in contributing to Bun-Eth! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/Bun-Eth-Community/bun-eth.git cd bun-eth - Install dependencies:
task install
- Create a branch:
git checkout -b feature/my-feature
- Make your changes
- Add tests for new functionality
- Run tests:
task test - Commit your changes:
git commit -m "feat: add my feature" - Push to your fork:
git push origin feature/my-feature
- Open a Pull Request
We follow Conventional Commits:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changestest:- Test additions or changesrefactor:- Code refactoringchore:- Maintenance tasks
Examples:
feat: add wallet balance caching
fix: resolve contract deployment issue
docs: update API documentation
- All new features must include tests
- Maintain or improve test coverage
- Tests should pass before submitting PR
- Use TypeScript strict mode
- Follow existing code patterns
- Format code with Prettier (if configured)
- Use meaningful variable names
- Update README.md for new features
- Add JSDoc comments to public APIs
- Update example code if needed
Include:
- Clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Environment details (Bun version, OS, etc.)
Include:
- Clear use case description
- Proposed implementation (if any)
- Potential alternatives considered
By contributing, you agree that your contributions will be licensed under the MIT License.