Open Issues Need Help
View All on GitHubA tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️
A tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️
A tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️
AI Summary: Implement a TypeScript Express.js controller to handle `/api/compile` and `/api/test` endpoints. These endpoints will receive Rust code from a frontend, compile it using `cargo` and `stellar-cli`, run tests using `cargo test`, and return the results or errors in JSON format. The implementation must include input validation, error handling, and integration with utility functions (to be implemented later).
A tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️
AI Summary: The task involves enhancing the security of a Soroban smart contract compiler by integrating the `sanitize-filename` library into the backend's file management system. This ensures that temporary directory names created for user projects are sanitized, preventing potential path traversal vulnerabilities. The implementation requires installing the library, modifying the `setupProject` function in `fileManager.ts` to sanitize directory names using `sanitize-filename`, and thorough testing with various inputs, including malicious ones.
A tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️
AI Summary: Implement a 30-second timeout mechanism in the backend's `commandExecutor` utility function to prevent long-running commands from blocking the application. This involves modifying the existing function to use Node.js's `child_process` capabilities and `setTimeout` to kill processes exceeding the time limit, while ensuring proper error handling and output capture.
A tool used to compile smart contracts written in soroban for the Stellar blockchain. It eliminates the friction of all installations for those who are just starting to learn. 🗜️