π¨ Bumm Dashboard: Next.js dApp with Solana wallet integration, AI-powered smart contract generation, and interactive demo
- π Solana Wallet Integration: Connect with Phantom, Solflare, and other popular wallets
- π€ AI-Powered Smart Contract Generation: Generate, audit, build, and deploy Solana smart contracts using AI
- π¬ Interactive AI Chat: Real-time chat with AI agents for smart contract development assistance
- π± Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
- π― Interactive Demo: Live demonstration of the platform capabilities
- β‘ Real-time Updates: Live status tracking for contract generation, building, and deployment
- π¨ Modern UI/UX: Built with Next.js 14, Tailwind CSS, and Framer Motion animations
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- Animations: Framer Motion, GSAP
- Icons: Lucide React
- Blockchain: Solana Web3.js, Wallet Adapter
- Language: TypeScript
- State Management: React Hooks, Context API
- Analytics: Google Tag Manager
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
src/
βββ app/ # Next.js App Router
β βββ api/ # API routes
β β βββ backend/ # Backend proxy routes
β β βββ proxy/ # General proxy routes
β βββ globals.css # Global styles
β βββ layout.tsx # Root layout
β βββ page.tsx # Home page
βββ components/ # React components
β βββ analytics/ # Analytics components
β βββ dashboard/ # Main dashboard screens
β β βββ ChatScreen.tsx # AI chat interface
β β βββ Dashboard.tsx # Main dashboard
β β βββ LoginScreen.tsx # Login/authentication
β βββ demo/ # Interactive demo
β β βββ InteractiveDemo.tsx # Live demo component
β βββ providers/ # Context providers
β β βββ WalletProvider.tsx # Wallet context
β βββ ui/ # Reusable UI components
β βββ AuditModal.tsx # Contract audit modal
β βββ BuildModal.tsx # Contract build modal
β βββ DeployModal.tsx # Contract deployment modal
β βββ InteractiveCodeEditor.tsx # Code editor
β βββ WalletModal.tsx # Wallet connection modal
β βββ ... # Other UI components
βββ config/ # Configuration files
β βββ api.ts # API configuration
βββ hooks/ # Custom React hooks
β βββ useAnalytics.ts # Analytics tracking
β βββ useBummApi.ts # API integration
β βββ useCredits.ts # Credits system
β βββ useGSAPAnimations.ts # Animation hooks
βββ lib/ # Utility libraries
β βββ api.ts # API client
β βββ mockApi.ts # Mock API for development
β βββ utils.ts # Utility functions
βββ services/ # Service layers
β βββ api.ts # API service
β βββ bummService.ts # Bumm-specific services
β βββ creditService.ts # Credits management
βββ types/ # TypeScript type definitions
β βββ dashboard.ts # Dashboard types
βββ utils/ # Utility functions
βββ generationCommands.ts # AI generation commands
- Dashboard.tsx: Main dashboard interface with project management
- ChatScreen.tsx: AI chat interface for smart contract development
- LoginScreen.tsx: Authentication and wallet connection
- InteractiveDemo.tsx: Live demonstration of platform capabilities
- Features real-time AI chat, code generation, and project management
- Responsive design for desktop, tablet, and mobile
- InteractiveCodeEditor.tsx: Advanced code editor with syntax highlighting
- AuditModal.tsx: Security audit interface
- BuildModal.tsx: Contract building interface
- DeployModal.tsx: Contract deployment interface
- WalletModal.tsx: Wallet connection and management
- useBummApi.ts: Main API integration hook
- useCredits.ts: Credits system management
- useAnalytics.ts: Analytics tracking
- bummService.ts: Core business logic services
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
Create a .env.local
file with:
NEXT_PUBLIC_API_URL=your_api_url
NEXT_PUBLIC_ANALYTICS_ID=your_analytics_id
- Natural language to Solana smart contract conversion
- Real-time code generation with syntax highlighting
- Support for tokens, NFTs, DeFi protocols, and gaming contracts
- Live demonstration of platform capabilities
- Real-time AI chat with proper message animations
- Responsive design for all device sizes
- Auto-scroll chat functionality
- Support for multiple Solana wallets
- Real-time balance tracking
- Transaction management
- Network switching (MainNet/DevNet)
- AI-powered operations cost credits
- Real-time credit tracking
- Credit history and management
- Insufficient credits handling
This project is licensed under the MIT License - see the LICENSE file for details.