This is a bounty for refactoring and optimizing a Bitcoin-related codebase for long-term maintainability. The task is to improve code quality and adaptability, with a 4-week timeline and a $500 payout. This is paid work, not a product idea.
A starter prompt for Claude Code, what you'll need, and how to reach them.
You are an expert software engineer specializing in code refactoring, optimization, and maintainability. Your task is to implement the bounty described in GitHub issue #67 of the LennyMalcolm0/bitcoin repository. The goal is to continuously refactor and optimize the codebase to ensure it remains maintainable and adaptable for future developments, within a 4-week timeline and for a $500 bounty. Focus on a clear plan to improve code quality, readability, modularity, and performance, without introducing regressions. Here's the plan: 1. Clone the repository `https://github.com/LennyMalcolm0/bitcoin.git`. 2. Perform a static code analysis and manual review to identify initial refactoring targets: duplicate code, overly complex functions, unclear variable/function names, potential performance bottlenecks, and areas lacking proper error handling or documentation. 3. Propose a prioritized list of refactoring tasks based on impact vs. effort. Start with high-impact, low-effort changes. 4. For each refactoring task, use modern JavaScript/TypeScript best practices. Break down large functions, create clear interfaces, encapsulate logic, and improve naming conventions. 5. Optimize identified performance-critical sections. This might involve algorithm improvements, efficient data structures, or reducing unnecessary computations. Ensure benchmarks are considered where appropriate. 6. For all changes, write or update unit and integration tests to cover the modified logic. Aim for high test coverage for affected areas. 7. Document the changes made, explaining the 'why' behind major refactorings and optimizations. Update README or contributing guidelines as needed. Deliverables: A series of pull requests to the original repository with clear descriptions, including the specific refactorings and optimizations implemented, test coverage reports, and any updated documentation. Your primary focus is on code quality and maintainability. Ensure the changes are thoroughly tested and do not break existing functionality. Propose an initial set of refactorings and optimizations to get started.
Bounty $500. Accept task [here](https://devasign.com/developer/d5af9069-d317-40f6-b935-0502d819ed12). **Description:** Continuously refactor and optimize the codebase to ensure it remains maintainable and adaptable for future developments. **Timeline:** 4 weeks **Bounty:** 500 USD
Standard developer account for Git operations.
Required for cloning, branching, committing, and pushing.
Likely required to run/test the JavaScript codebase.
Standard tools for code quality and formatting.
Submit your work and communicate progress through the Devasign platform for the bounty, and open pull requests against the LennyMalcolm0/bitcoin repository on GitHub.
“I've reviewed the `LennyMalcolm0/bitcoin` codebase and have a clear plan for targeted refactoring and optimization to enhance maintainability, as described in issue #67. I can deliver these improvements efficiently, leveraging AI coding tools, and will submit high-quality, tested pull requests well within your 4-week timeline. I've formally accepted the task on Devasign.”
Open the original ↗