- 步驟1:從GitHub複製倉庫:git clone https://github.com/denizumutdereli/smart-contract-langchain-advisor
- 步驟2:安裝相依套件:pip install -r requirements.txt
- 步驟3:設定你的OpenAI API金鑰:export OPENAI_API_KEY="your_key"
- 步驟4:準備好你的Solidity檔案置於目標資料夾
- 步驟5:執行顧問CLI:python advisor.py --source ./contracts
- 步驟6:檢視產生的audit_report.json,了解發現及建議
- 步驟7:根據建議,反覆調整程式碼並重新執行顧問