Solidity Copilot won #1st prize for the 2023 ETH Seoul hackathon for the Impact Application round.
Open terminal, and run npm run watch
first to compile and then press F5 to open up the dev host window for the extension.
Uses FastAPI for running python scripts.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cd server
uvicorn main:app --reload
Also make sure that you create a .env file using touch .env
that holds your OPENAI_API_KEY =
to run the backend files. Or you could simply copy and paste the existing .env.example
file into .env
.
- Smart contract auditing for Solidity and Rust
- Gas optimization
- Creates README file for the codes
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
For example:
This extension contributes the following settings:
myExtension.enable
: Enable/disable this extension.myExtension.thing
: Set toblah
to do something.
Initial release of Smart Contract Auditor
23-06-02
- Sidebar panel UI and button features
- Integration with FastAPI python backend
- Error checking for code
23-06-03
- Add Check Gas function to sidebar
- Apply AI results from sidebar to vscode window
- Add Test Code Generator to sidebar
23-06-04
- Split editor and add updated code in virtual window, also highlight green and red for removed and added parts
- Refine UI/UX for sidebar
- Create new file for Test Code when it's generated
- Error Handling: 1) is solidity 2) has test code 3) hardhat setting(gas reporter)
- UI update
- Prompt Engineering: JSON output/parsing, better prompt