An AI-powered blockchain explorer and interaction platform built with Next.js 14 and the Vercel AI SDK.
Charisma Explore is a comprehensive tool for exploring the Stacks blockchain, monitoring transactions, and interacting with smart contracts. The platform combines modern web technologies with AI assistance to provide:
- Real-time blockchain monitoring and analysis
- Smart contract interaction and auditing
- Token registry management and tracking
- Transaction analytics and mempool inspection
- AI-assisted blockchain exploration
Experience Stacks blockchain exploration with an intuitive, AI-powered interface that makes complex blockchain interactions accessible and efficient.
- AI Assistant: Powered by Claude 3 and GPT-4 models for intelligent blockchain interaction
- Real-time Updates: Monitor transactions and blockchain activity in real-time
- Smart Contract Tools: Analyze, audit, and interact with Stacks smart contracts
- Token Management: Track and manage SIP-010 tokens with detailed analytics
- Authentication: Secure user authentication with NextAuth.js
- Modern UI: Built with Tailwind CSS and shadcn/ui components
- Node.js 18+
- pnpm (recommended) or npm
- PostgreSQL database
- Vercel account (for deployment)
Create a .env.local file with the following required variables:
# Authentication
AUTH_SECRET="your-auth-secret" # Required for NextAuth.js
# Database
POSTGRES_URL="postgresql://..." # Your PostgreSQL connection string
# AI Models
OPENAI_API_KEY="sk-..." # For GPT-4 models
ANTHROPIC_API_KEY="sk-..." # For Claude models
# Vercel KV (for caching)
KV_REST_API_URL="..."
KV_REST_API_TOKEN="..."
# Optional: Analytics
VERCEL_ANALYTICS="true"- Clone the repository:
git clone https://github.com/your-username/charisma-explore.git
cd charisma-explore- Install dependencies:
pnpm install- Set up the database:
pnpm db:generate
pnpm db:push- Start the development server:
pnpm devThe application will be available at http://localhost:3000.
-
Database Management:
pnpm db:studio: Launch Drizzle Studio for database managementpnpm db:generate: Generate database migrationspnpm db:push: Apply database migrations
-
Testing:
pnpm test: Run testspnpm test:ui: Run tests with UIpnpm test:coverage: Generate test coverage report
Licensed under the Apache License, Version 2.0. See LICENSE for details.
