Skip to content
forked from ASSERT-KTH/solgpt

Pipeline to get fixed Solidity smart contracts from ChatGPT

License

Notifications You must be signed in to change notification settings

mokita-j/solgpt

This branch is up to date with ASSERT-KTH/solgpt:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c7111c6 · Jul 4, 2024

History

7 Commits
Jul 2, 2024
Apr 14, 2023
Jul 4, 2024
Apr 14, 2023
Apr 14, 2023
Apr 14, 2023
Apr 14, 2023
Jul 2, 2024
Apr 14, 2023
Jul 2, 2024
Apr 14, 2023
Jul 2, 2024

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%