Thank you for your interest in contributing to PolyFlow! This document provides guidelines and instructions for contributing.
- 🐛 Report bugs
- 💡 Suggest new features
- 📝 Improve documentation
- 🔧 Submit bug fixes
- ✨ Add new features
- 🌍 Add translations
- Fork the repository
- Clone your fork:
git clone https://github.com/juapperez/polyflow.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Test your changes
- Commit:
git commit -m "Add your feature" - Push:
git push origin feature/your-feature-name - Open a Pull Request
# Install dependencies
npm install
# Start development server
npm run dev
# Run tests
npm test
# Build for production
npm run build- Use TypeScript for all new code
- Follow existing code formatting
- Use meaningful variable names
- Add comments for complex logic
- Keep functions small and focused
- Write tests for new features
- Ensure all tests pass before submitting PR
- Test in both Testnet and Mainnet modes
- Test language switching (EN/PT)
Use clear, descriptive commit messages:
feat: Add new strategy block typefix: Resolve market filter bugdocs: Update API documentationstyle: Format code with prettierrefactor: Simplify market fetching logictest: Add tests for risk manager
To add a new language:
- Open
frontend/src/translations.ts - Add your language code to the
Languagetype - Add translations following the existing structure
- Update language selector in
App.tsxandBuilder.tsx - Test all UI elements in the new language
When reporting bugs, please include:
- Clear description of the issue
- Steps to reproduce
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Browser/OS information
- Network mode (Testnet/Mainnet)
For feature requests, please describe:
- The problem you're trying to solve
- Your proposed solution
- Alternative solutions considered
- Any additional context
- Be respectful and inclusive
- Welcome newcomers
- Focus on constructive feedback
- Help others learn and grow
Feel free to open an issue or reach out on Discord!
Thank you for contributing to PolyFlow! 🎉