0.1.0 • Published 10 months ago
auditify v0.1.0
📋 Table of Contents
🤖 Introduction
Auditify provides an easy and efficient way to audit your smart contracts using AI. It interacts with the OpenAI API to analyze and generate detailed reports on the provided smart contract code.
🔋 Features
- AI-Powered Auditing: Leverages OpenAI to generate comprehensive audit reports.
- Command Line Tool: Provides a CLI for easy integration into development workflows.
- User-Friendly Interface: Offers an easy-to-use frontend for auditing smart contracts.
⚙️ Architecture
- Command Line Tool:
auditify
- Frontend: React-based user interface
- API Integration: OpenAI API
🤸 Setup and Deployment
Prerequisites
- Node.js and npm installed
Steps
- Clone the Repository
git clone https://github.com/yourusername/Auditify.git
cd Auditify
2. **Install Dependencies**
```bash
npm install
- Setup Environment Variables
Create a .env
file in the root directory with the following content:
OPENAI_API_KEY=your_openai_api_key
- Build the Project
npm run build
- Install the CLI Globally
npm install -g .
🚀 Usage
Using the CLI
- Analyze a Smart Contract
auditai check <path-to-your-contract-file>
Using the Frontend
- Start the Frontend
npm run dev
- Connect Wallet: Connect your MetaMask wallet to the appropriate network.
- Submit Contract Code: Paste your smart contract code into the provided textarea and click "Analyze".
- View Results: After analysis, view the detailed audit report and metrics in the modal that appears.
🤝 Contributing
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
This version should display correctly in your README. Adjust any specific details such as image links, repository links, and API keys to match your project.
0.1.0
10 months ago