An Auditbase API key is necessary and can be obtained at Auditbase. The AUDITBASE_API_KEY environmental variable must be set. The AUDITBASE_WEBHOOK_URL environmental variable can be set if desired to receive a post request at the URL specified in AUDITBASE_WEBHOOK_URL with scan results after the scan is finished.
First run npm install
node examples/solidity/js/createAiScan.js
In the scan file replace scan_id with the scan_id of the
file you wish to view. Then run
node examples/solidity/js/getScan.js
run python examples/solidity/python/create_ai_scan.py
In the scan file replace scan_id with the scan_id of the
file you wish to view. Then run
run python examples/solidity/python/get_scan.py