Lux Faucet - AI Assistant Knowledge Base
**Last Updated**: 2025-11-05
Lux Faucet - AI Assistant Knowledge Base
Last Updated: 2025-11-05 Project: Lux Testnet Faucet Stack: Node.js, TypeScript, React → Next.js, Solidity, Foundry
Project Overview
Modern faucet for distributing test tokens on Lux testnets. Supports multiple EVM chains with rate limiting, captcha verification, and configurable drip amounts.
Essential Commands
Development
pnpm dev # Start backend with tsx watch (port 8000)
pnpm dev:ui # Start frontend (port 3000)
pnpm build # Build everything
pnpm generate # Generate new wallet key
Contracts
cd contracts
forge build # Compile
forge test # Run tests
forge test --gas-report # Gas usage
Architecture
- Backend: Express + TypeScript (
/server.ts) - Frontend: React (CRA) → migrating to Next.js 15
- Smart Contracts: Solidity + Foundry (
/contracts/) - Package Manager: pnpm (workspace)
- Dev Tools: tsx (not nodemon ✅)
Key Technologies
Current
- Node.js 17+, Express, TypeScript
- React 18, web3.js v1, ethers v5
- Solidity 0.8.28, Foundry
- pnpm workspace
Planned
- Next.js 15, viem v2, wagmi v2
- TailwindCSS + shadcn/ui
Development Workflow
- Generate wallet:
pnpm generate - Update
.envwith keys and ReCaptcha secret - Start backend:
pnpm dev - Start frontend:
pnpm dev:ui - Deploy contracts:
cd contracts && forge script ...
Context for All AI Assistants
This file (LLM.md) is symlinked as:
.AGENTS.mdCLAUDE.mdQWEN.mdGEMINI.md
All files reference the same knowledge base. Updates here propagate to all AI systems.
Rules for AI Assistants
- ALWAYS update LLM.md with significant discoveries
- NEVER commit symlinked files (.AGENTS.md, CLAUDE.md, etc.) - they're in .gitignore
- NEVER create random summary files - update THIS file
Note: This file serves as the single source of truth for all AI assistants working on this project.
Related Documents
Design Document: BharatSeva AI
BharatSeva AI is a multi-agent orchestration system built on AWS using Amazon Bedrock Agents with Claude 3.5 Sonnet as the foundation model. The system deploys 10 AI agents (1 Master Orchestrator + 9 Specialist Agents) to assist India's informal sector workers in navigating government schemes across three domains: PM Vishwakarma (artisan credit), PMFBY (crop insurance), and BOCW (construction worker welfare).
OpenClaw Enterprise Transformation Plan
Transform OpenClaw from a single-user personal AI assistant into a **dual-mode platform** that is simultaneously:
Qwen Image and Edit: Open-sourcing and Local GGUF Generations with Lightning
Daniel Sandner, for article on https://sandner.art/
Qwen3-TTS — Model Reference
Models: `Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice` and `Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice`