0.1.0 • Published 10 months ago

auditify v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

📋 Table of Contents

  1. 🤖 Introduction
  2. 🔋 Features
  3. ⚙️ Architecture
  4. 🤸 Setup and Deployment
  5. 🚀 Usage
  6. 🤝 Contributing
  7. 📜 License

🤖 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

  1. Command Line Tool: auditify
  2. Frontend: React-based user interface
  3. API Integration: OpenAI API

🤸 Setup and Deployment

Prerequisites

  • Node.js and npm installed

Steps

  1. Clone the Repository
git clone https://github.com/yourusername/Auditify.git
cd Auditify


2. **Install Dependencies**

```bash
npm install
  1. Setup Environment Variables

Create a .env file in the root directory with the following content:

OPENAI_API_KEY=your_openai_api_key
  1. Build the Project
npm run build
  1. Install the CLI Globally
npm install -g .

🚀 Usage

Using the CLI

  1. Analyze a Smart Contract
auditai check <path-to-your-contract-file>

Using the Frontend

  1. Start the Frontend
npm run dev
  1. Connect Wallet: Connect your MetaMask wallet to the appropriate network.
  2. Submit Contract Code: Paste your smart contract code into the provided textarea and click "Analyze".
  3. 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.