Skip to content

priyanshuharshbodhi1/Axiom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

116 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Axiom β€” AI-Powered DeFi Workflow Builder

Effortlessly build AI-powered DeFi workflows with a drag-and-drop builder β€” automate real-time market analysis, optimize trades, and execute on-chain strategies, making decentralized finance simple.

Next.js TypeScript Prisma Clerk Stripe License: MIT


🎬 Demo

Axiom Demo

Click the thumbnail above to watch the full demo on YouTube.


πŸ–ΌοΈ Screenshots

Axiom Platform Screenshot 1

Axiom Platform Screenshot 2

Axiom Platform Screenshot 3


🧭 The Problem

DeFi trading and strategy execution require deep technical expertise, manual intervention, and constant market monitoring. Existing tools fall short in three critical areas:

  • Complexity β€” Users must write custom scripts or juggle multiple platforms just to automate trading and analysis.
  • Time-Consuming β€” Monitoring market conditions and executing trades manually leads to missed opportunities.
  • Risk Management β€” Without automated safeguards, users are highly exposed to volatile market conditions.

πŸ’‘ The Solution

Axiom provides an intuitive, no-code drag-and-drop builder to create AI-powered DeFi workflows, enabling:

  • Automated Market Analysis β€” AI-driven insights to track price movements, trends, and liquidity in real time.
  • Trade Optimization β€” Intelligent suggestions and automated execution of on-chain trading strategies.
  • Accessible to Everyone β€” No coding required. Whether you're a DeFi power user or just getting started, Axiom abstracts the complexity away.

πŸ“ˆ Market Opportunity

Decentralized Finance (DeFi) has transformed the financial landscape by providing open, permissionless, and transparent financial services. However, existing platforms require extensive technical expertise, manual oversight, and are highly fragmented. Axiom aims to simplify DeFi participation through AI-powered automation on the EDU Chain.

Metric Detail
πŸ’° Total Value Locked $100B+ TVL across leading DeFi protocols
πŸ‘₯ Active Users Millions worldwide seeking efficient, automated financial solutions
πŸ€– AI in DeFi AI-driven trading and risk automation is the fastest-growing DeFi vertical

🎯 Target Market

Segment Description Key Needs Revenue Model
Retail Investors Individual crypto enthusiasts seeking accessible DeFi opportunities User-friendly interface, low fees, simplified access across thousands of dApps Workflow marketplace purchases + $20/mo hosting
Institutional Investors Hedge funds, investment firms, and banks exploring automated DeFi solutions Enterprise-grade security, scalability, and regulatory compliance Enterprise licensing
Active Traders Experienced traders and algorithmic arbitrageurs seeking real-time market edge Advanced agentic analytics, data feeds, and automated execution Workflow marketplace purchases + $20/mo hosting

✨ Features

Feature Description
🧩 Visual Workflow Builder Drag-and-drop interface for creating complex DeFi automation pipelines
⏱️ Scheduled Execution Cron-based scheduling for fully automated, hands-free workflow runs
πŸ”Œ External Integrations Connect with external APIs and on-chain services via GOAT SDK plugins
πŸ” User Authentication Secure sign-in/sign-up with Clerk
πŸ“Š Analytics & Monitoring Track workflow performance, execution history, and usage statistics
πŸ’³ Billing & Credits Stripe-powered credit system for usage-based billing
🌐 Multi-chain Wallet Support EVM-compatible and NEAR blockchain wallet integrations

πŸ› οΈ Tech Stack

Frontend

Backend & Data

  • PostgreSQL β€” Relational database
  • Prisma ORM β€” Type-safe database client and schema management
  • Next.js Server Actions β€” Seamless server-side mutations

Auth & Payments

  • Clerk β€” Authentication and user management
  • Stripe β€” Credit-based billing and payment processing

Blockchain & DeFi

  • GOAT SDK β€” Plugin-based DeFi integrations
  • Viem β€” EVM wallet and chain interactions
  • NEAR API β€” NEAR blockchain support

πŸ“ Project Structure

axiom/
β”œβ”€β”€ actions/           # Next.js Server Actions (data fetching & mutations)
β”œβ”€β”€ app/               # App Router β€” pages, layouts, and API routes
β”œβ”€β”€ components/        # Reusable UI components and context providers
β”œβ”€β”€ lib/               # Utility functions, configs, and shared logic
β”œβ”€β”€ prisma/            # Database schema and migrations
β”œβ”€β”€ public/            # Static assets
β”œβ”€β”€ schema/            # Zod validation schemas
└── types/             # Shared TypeScript type definitions

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • Yarn package manager
  • PostgreSQL database instance
  • API keys for the services listed below

1. Clone the Repository

git clone https://github.com/priyanshuharshbodhi1/Axiom.git
cd Axiom

2. Install Dependencies

yarn install

3. Configure Environment Variables

Create a .env.local file in the root directory:

# Database
DATABASE_URL="postgresql://username:password@localhost:5432/axiom"

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="your_clerk_publishable_key"
CLERK_SECRET_KEY="your_clerk_secret_key"
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"

# API Security
API_SECRET="your_secure_api_secret"
CRON_SECRET="your_secure_cron_secret"

# Stripe
STRIPE_SECRET_KEY="your_stripe_secret_key"
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="your_stripe_publishable_key"
STRIPE_WEBHOOK_SECRET="your_stripe_webhook_secret"

# App Configuration
NEXT_PUBLIC_APP_URL="http://localhost:3000"

# External AI / LLM Keys
OPENAI_API_KEY="your_openai_key"
GROQ_API_KEY="your_groq_key"
GOOGLE_API_KEY="your_google_key"

4. Set Up the Database

# Generate the Prisma client
npx prisma generate

# Push schema to the database
npx prisma db push

# (Optional) Seed initial data
yarn prisma db seed

5. Run the Development Server

yarn dev

Open http://localhost:3000 in your browser.


πŸ—οΈ Production Deployment

# Build the application
yarn build

# Start the production server
yarn start

Axiom is designed to deploy seamlessly on Vercel. A vercel.json config is already included in the repo.


🎡 Vibe-Coded with Claude Code

Axiom was built as a vibe-coded project β€” using AI as a core development accelerator, not just a helper. The approach: define the architecture and DeFi logic myself, delegate the heavy boilerplate, scaffolding, and repetitive patterns to AI, and stay in a high-velocity creative flow throughout.

Claude Code by Anthropic was the primary AI tool used β€” it helped with:

  • ⚑ Scaffolding Next.js server actions and API route logic
  • πŸ—„οΈ Generating and iterating on Prisma schema and DB queries
  • πŸ”Œ Accelerating GOAT SDK plugin integrations for the workflow engine
  • 🎨 Speeding up Tailwind + Radix UI component composition

The result: a full-stack DeFi automation platform shipped at hackathon speed β€” without cutting corners on architecture or code quality.


πŸ“ Development Guidelines

  • Components: Keep them modular, reusable, and co-located with their logic.
  • API Routes: Always include proper error handling and Zod input validation.
  • Database: Use Prisma for all DB operations β€” never raw SQL.
  • Authentication: Protect all sensitive routes via Clerk middleware.
  • Styling: Use Tailwind CSS utility classes; avoid inline styles.

🀝 Contributing

Contributions are welcome!

  1. Fork this repository
  2. Create a feature branch: git checkout -b feat/your-feature
  3. Commit your changes: git commit -m "feat: add your feature"
  4. Push and open a Pull Request

Please make sure all changes include appropriate tests and follow the existing code style.


πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Axiom β€” Making DeFi automation accessible to everyone. 🌐

About

AI-powered DeFi workflow builder - automate real-time market analysis, optimize trades, & execute on-chain strategies, making DeFi simple.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages