Skip to content
forked from enaples/solgpt

Pipeline to get fixed Solidity smart contracts from ChatGPT

License

Notifications You must be signed in to change notification settings

ASSERT-KTH/solgpt

 
 

Repository files navigation

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

About

Pipeline to get fixed Solidity smart contracts from ChatGPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.9%
  • Solidity 8.1%