Thank you for your interest in contributing to mx-sdk-dapp! We welcome contributions from the community.
- Use the GitHub issue tracker to report bugs
- Describe the issue in detail, including steps to reproduce
- Include relevant code snippets, error messages, and environment details
- Check existing issues and PRs to avoid duplicates
- For significant changes, open an issue first to discuss your approach
- Make sure your changes align with the project's goals
For Code Changes:
- Write clear, concise commit messages
- Add tests for new functionality
- Ensure all tests pass (
npm test) - Update documentation as needed
- Follow the existing code style
For Documentation Changes:
- Please batch multiple small fixes together rather than creating separate PRs for individual typos or grammar fixes
- When fixing one issue, consider reviewing the entire file or section for similar issues
- Significant documentation improvements (new sections, restructuring, etc.) can be submitted separately
For Bug Fixes:
- Include steps to reproduce the bug
- Add test cases that verify the fix
✅ Good PRs:
- Multiple related documentation fixes in one PR
- Bug fixes with test coverage
- New features with documentation and tests
- Performance improvements with benchmarks
❌ Please Avoid:
- Separate PRs for individual typo fixes
- Changes without context or explanation
- Breaking changes without discussion
- Commits that don't pass tests
- Fork and clone the repository
- Install dependencies:
pnpm install - Make your changes
- Run tests:
pnpm test - Build the library:
pnpm build
- Write unit tests for new functionality
- Ensure all tests pass before submitting
- Aim for good test coverage
- Test edge cases and error conditions
Write clear commit messages that describe what changed and why:
feat: add support for custom transaction tracking
- Adds customizable tracking options
- Updates documentation
- Includes unit tests
- Maintainers will review your PR as soon as possible
- Address any feedback or requested changes
- Once approved, a maintainer will merge your PR
Feel free to:
- Open an issue for questions about contributing
- Ask in PR comments if you need clarification
- Reach out to maintainers for guidance on complex changes
By contributing, you agree that your contributions will be licensed under the same license as the project.
Thank you for helping make mx-sdk-dapp better! 🚀