project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

GPTutor (🤖,🤖)

A VS Code extension for smart contract development, including "tutor", "audit" features and a efficient preprocessing system

GPTutor (🤖,🤖)

Created At

ETHGlobal Tokyo

Project Description

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:

  • Get code tutor and audits using OpenAI's GPT models.
  • Supports Solidity language for now.
  • Hover over code blocks to display GPTutor suggestions.
  • Non-custodial API key for GPTutor (100% Free and we don't own your key).
  • Selected the GPT model (supported GPT-3.5, GPT-4).

How it's Made

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

background image mobile

Join the mailing list

Get the latest news and updates