- Step1: Clone the repository from GitHub: git clone https://github.com/denizumutdereli/smart-contract-langchain-advisor
- Step2: Install dependencies: pip install -r requirements.txt
- Step3: Set your OpenAI API key: export OPENAI_API_KEY="your_key"
- Step4: Prepare your Solidity files in a target directory
- Step5: Run the advisor CLI: python advisor.py --source ./contracts
- Step6: Review the generated audit_report.json for findings and recommendations
- Step7: Iterate by refining code based on suggestions and re-running the advisor