Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 436 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 436 Bytes

solgpt

A pipeline to fix bugged Solidity smart contract with ChatGPT.

Make sure to have the Slither docker image installed locally.

Installation

docker pull trailofbits/eth-security-toolbox
pip install -r requirements.txt
export TOKEN_AI='<Openai API KEY>'

Usage

Place the smart contract in cleaned folder and run the following command:

python solgpt_get_fix.py