A pipeline to fix bugged Solidity smart contract with ChatGPT.
Make sure to have the Slither docker image installed locally.
docker pull trailofbits/eth-security-toolbox
pip install -r requirements.txt
export TOKEN_AI='<Openai API KEY>'
Place the smart contract in cleaned
folder and run the following command:
python solgpt_get_fix.py