Inspiration
As a Blockchain enthusiast and sole proprietor of AceAbhishek whose conversion to OPC is going on. AceAbhishek Blockchain Hub whatever Blockchain smart contracts we are developing created AI powered Auditor for that.
What it does
How Our AI Auditor Works Smart Contract Security Auditor AI-Powered Vulnerability Prediction Leverage advanced AI to audit your smart contracts, identify vulnerabilities, and predict potential security risks before deployment.
Technologies Powering AceAbhishek Smart Contract Auditor
This application is built using a modern stack of technologies to provide a robust, performant, and AI-enhanced user experience. Here's a breakdown of the key components:
Next.js (App Router) A React framework for building full-stack web applications. The App Router is used for server-centric routing, Server Components, and improved performance.
Role in Project:Core application framework, routing, server-side rendering, and API handling via Server Actions.
React
A JavaScript library for building user interfaces. Used for creating reusable UI components and managing application state with hooks like useActionState.
Role in Project:Frontend user interface construction and component-based architecture.
ShadCN UI A collection of beautifully designed, accessible, and customizable UI components built on top of Radix UI and Tailwind CSS.
Role in Project:Provides the pre-built UI components like Cards, Buttons, Forms, Tabs, etc., ensuring a consistent and professional look and feel.
Tailwind CSS A utility-first CSS framework for rapidly building custom user interfaces. Used for styling all components and layouts.
Role in Project:Styling and visual design of the application, providing fine-grained control over appearance. Theme variables are defined in globals.css.
Genkit (with Google Gemini) An open-source framework from Google for building AI-powered features and applications. It simplifies integrating with large language models (LLMs) like Gemini.
Role in Project:Powers the AI-driven smart contract analysis (tool selection, vulnerability generation) by defining and running AI flows that interact with the Gemini model.
TypeScript A superset of JavaScript that adds static typing. It helps in building more robust and maintainable code.
Role in Project:Used throughout the project (frontend, backend actions, AI flows) for improved code quality, type safety, and developer experience.
Zod A TypeScript-first schema declaration and validation library. Used for validating form inputs and the schemas for AI flow inputs/outputs.
Role in Project:Ensures data integrity for form submissions (e.g., URLs, contract addresses) and the data structures exchanged with Genkit AI flows.
Lucide Icons A simply beautiful and consistent open-source icon library.
Role in Project:Provides the icons used throughout the application for visual cues and enhanced aesthetics.
Etherscan API An API service that provides access to Ethereum blockchain data, including verified smart contract source code.
Role in Project:Used to fetch smart contract source code when a user provides a contract address for analysis.
MongoDB Atlas A fully managed cloud database service. Integrated to persist smart contract vulnerability analysis reports.
Role in Project:Data storage and persistence. Used to save smart contract vulnerability analysis reports after successful analysis.
GitLab CI/CD A continuous integration and continuous delivery/deployment platform built into GitLab.
Role in Project:Automates the build, test, and deployment pipeline. The .gitlab-ci.yml file is configured with stages for dependency installation, building, type checking, linting, and deploying to Firebase App Hosting (manual trigger, requires CI/CD variables).
How we built it
Using Gitlab CI/CD AI analysis tools like Slither, Mythril, Echidna MongoDB Atlas
Challenges we ran into
Leveraging Gitlab CI/CD to continuously update our AI models
Accomplishments that we're proud of
Project is working by leveraging both Gitlab and MongoDB
What we learned
Integrating Gitlab and MongoDB and AI in one project
Built With
- ai
- gitlab
- mongodb
Log in or sign up for Devpost to join the conversation.