A VS Code extension for smart contract development, including "tutor", "audit" features and a efficient preprocessing system
GPTutor is a Visual Studio Code extension that uses OpenAI's GPT (Generative Pre-trained Transformer) models to provide users with code tutor and code audit for a better understanding of their code. It supports Solidity language, enabling users to get insights into code blocks and improve their coding skills.
GPTutor has two product features:
Code tutor: Help developers understand code content and logic in the whole smart contract
Code audit: Check the smart contract code for vulnerabilities, and give suggestions for improvement
Features:
The core technologies of GPTutor include chatGPT, VSCode extension, and preprocessing program
We combined chatGPT and VSCode extensions to develop a perfect developer tool for smart contract (solidity) developers.
Instead of asking chatGPT directly, using an extension makes the whole process more efficient for the developer, it allowed them to interact directly with ChatGPT during the development process. What's more exciting is our preprocessing program, which allows users to obtain more accurate and expected results. When the developer selects the text section he wants to ask in VSCode, our preprocessing system will turn it into a more efficient prompt and provide it to ChatGPT for more accurate conclusions and suggestions
The tutor feature can perfectly and completely explain all the functions in the UniswapV3 contract. In addition, some extremely serious vulnerabilities (like reentrancy attacks) can even be found in the audit feature and the safety code can be given in result details