Modular, network-agnostic DeFi and AI agent infrastructure for EVM chains, with x402-powered pay-per-use deployments on Avalanche and beyond.
HyperKit is organized as a comprehensive monorepo containing five main modules:
π€ ai/ - AI-Powered Web3 Project Generator
Next.js application that generates complete Web3 applications using natural language prompts, powered by HyperAgent and Alith AI for seamless AI model integration, live preview, and blockchain deployment across supported networks.
Key Features:
- AI-powered code generation with Alith AI wrapper supporting multiple LLMs.
- Real-time project preview with iframe rendering.
- Automatic integration of HyperionKit blockchain components.
- File management and project publishing capabilities.
- Agent-powered prompt β contract β audit β deploy workflows.
π be/ - Backend API Server
NestJS-based backend service providing API endpoints and AI agent functionality for the HyperKit ecosystem, including x402-aware flows for pay-per-use experiences.
Key Features:
- RESTful API with NestJS framework.
- AI agent service integration with Alith AI and HyperAgent.
- Optional x402-gated endpoints that can return HTTP 402 for payment flows.
- Scalable TypeScript backend architecture.
- Development and production deployment support.
π fe/ - Frontend Dashboard
Main Next.js frontend application serving as the primary user interface for HyperKit, featuring wallet connectivity, DeFi operations, project management, and Avalanche pay-per-deploy flows.
Key Features:
- Wallet integration with RainbowKit and Wagmi.
- DeFi operations (swap, bridge, staking, faucet).
- "Deploy on Avalanche" UX for x402 pay-per-deploy flows.
- Google Sheets integration for data management.
- TaskOn API integration for verification systems.
- Responsive design with Tailwind CSS.
π¦ npm/ - HyperionKit React Component Library
Published React component library (hyperionkit on npm) providing reusable blockchain components for rapid Web3 development.
Key Features:
- Pre-built React components (ConnectWallet, Swap, Bridge, Staking, Faucet).
- Ethers.js integration for blockchain interactions.
- TypeScript support with full type definitions.
- Rollup-based build system for optimized bundles.
- Network-agnostic components with Avalanche-ready examples.
β‘ smc/ - Smart Contracts
Hardhat-based smart contract development environment with OpenZeppelin integration for secure DeFi protocols and network profiles for Avalanche Fuji and other EVM chains.
Key Features:
- Hardhat development framework.
- OpenZeppelin contract library integration.
- TypeScript support for contract interactions.
- Comprehensive testing and deployment scripts.
- Network configurations and "recipes" for common DeFi deployments.
HyperKit is designed to be network-agnostic and supports multiple EVM environments.
- Supported today: Hyperion, Mantle, Avalanche Fuji.
- In progress / planned: Metis, Avalanche C-Chain mainnet, and additional EVM-compatible networks.
HyperKit ships with building blocks for x402-powered pay-per-use flows on Avalanche, enabling metered deployments and API access.
- x402-gated APIs can return HTTP 402 responses with payment details, which users settle on Avalanche Fuji before the action continues.
- Typical flow: request β 402 invoice β on-chain payment on Fuji β HyperAgent generates, audits, and deploys contracts β returns address, ABI, and explorer links.
| Aspect | Previous State | With Avalanche x402 |
|---|---|---|
| Networks | Hyperion, Mantle (Metis planned) | Hyperion, Mantle, Metis, Avalanche Fuji (CβChain next) |
| Payments | Mostly open, non-metered tooling | x402-gated pay-per-deploy and pay-per-API flows |
| Products | Dev tooling and templates | Pay-per-Deploy Studio and agent-ready DeFi recipes |
For comprehensive documentation and guides, visit hyperionkit.xyz.
- Node.js v18+
- pnpm v10+ (recommended) or npm/yarn
- Git
-
Clone the repository
git clone https://github.com/HyperionKit/Hyperkit.git cd Hyperkit -
Install dependencies for all modules
pnpm install
-
Set up individual modules (optional, for specific development)
# AI Generator cd ai && pnpm install && pnpm dev # Backend API cd be && pnpm install && pnpm start:dev # Frontend Dashboard cd fe && pnpm install && pnpm dev # Smart Contracts cd smc && pnpm install && npx hardhat compile
Run specific modules:
# Run AI project generator
pnpm --filter ai dev
# Run backend API server
pnpm --filter be start:dev
# Run frontend dashboard
pnpm --filter fe dev
# Build npm package
pnpm --filter hyperionkit buildRun all development servers:
pnpm run devFor Avalanche Fuji development, configure your Hardhat network and environment variables:
- Add a
fujinetwork entry inhardhat.config.tswith RPC URL and private key. - Ensure your frontend and backend
.envfiles point to the same Fuji network and explorer URLs.
Hyperkit/
βββ ai/ # AI-powered Web3 project generator
βββ be/ # NestJS backend API server
βββ fe/ # Next.js frontend dashboard
βββ npm/ # HyperionKit React component library
βββ smc/ # Hardhat smart contracts- Branch Naming: Use descriptive branches (
feature/ai-generator-enhancement,fix/wallet-connection). - Commits: Follow conventional commits (
feat:,fix:,docs:, etc.). - Testing: Ensure all tests pass before submitting PRs.
- Documentation: Update relevant documentation for new features.
AI Generator (ai/):
- Built with Next.js 15 and TypeScript.
- Uses Zustand for state management.
- Integrates with multiple AI models (e.g., GPT-4 variants) through Alith AI.
- Orchestrates HyperAgent flows for generating and deploying smart contracts.
Backend API (be/):
- NestJS framework with TypeScript.
- Integrates Alith AI and HyperAgent for agent services.
- Provides RESTful APIs for project generation, deployment, and monitoring.
- Optional x402 gateway layer for 402-aware endpoints.
Frontend Dashboard (fe/):
- Next.js 15 with App Router.
- RainbowKit + Wagmi for wallet connectivity.
- Tailwind CSS for styling.
- Avalanche Fuji deployment flows and 402 payment UX.
Component Library (npm/):
- React components with TypeScript.
- Ethers.js for blockchain interactions.
- Rollup for optimized bundling.
- Network-agnostic primitives with examples for Avalanche and other EVM chains.
Smart Contracts (smc/):
- Hardhat development environment.
- OpenZeppelin security standards.
- Comprehensive testing suite.
- Network profiles and examples for Avalanche Fuji and other supported chains.
- HyperKit (X, Discord, Website
- ArhonJay
- Tristan-T-Dev
- JustineDevs
This project is licensed under the MIT License - see the LICENSE.md file for details.