Contributing
Setup
git clone https://github.com/yourusername/solana-privacy-scanner
cd solana-privacy-scanner
npm install
npm run build
npm test
Requirements: Node.js 20+
Structure
packages/
├── core/ # Scanner engine
├── cli/ # CLI tool
├── ci-tools/ # Testing & CI integration
├── code-analyzer/ # Static code analyzer
└── claude-plugin/ # Claude Code plugin
Making Changes
- Fork the repository
- Create a feature branch
- Make your changes
- Write/update tests
- Run
npm testto verify - Submit a pull request
Areas to Contribute
- Add known entities - Submit addresses to the database (guide)
- New heuristics - Propose privacy detection patterns
- Documentation - Improve guides and examples
- Bug fixes - Report and fix issues
- Testing - Add test coverage
Code Style
- TypeScript strict mode
- ESM modules (
.jsextensions in imports) - Descriptive variable names
- Add tests for new features