Embers Platform

Blockchain-based AI agent deployment and management platform with integrated wallet functionality

Quick Start

# Install dependencies
pnpm install

# Start development server
cd apps/embers
pnpm dev

# Build project
pnpm build

# Run tests
pnpm test

๐Ÿ“š Documentation

Our project follows a documentation-first approach designed for both human contributors and LLM-assisted development:

Core Documentation

For Contributors

For LLM Assistance

When using LLM tools, start by providing context from:

  1. Relevant requirements from docs/requirements/
  2. Technical specifications from docs/specifications/
  3. Architecture constraints from docs/architecture/
  4. Source code context from directory-level READMEs

Project Structure

embers-frontend/
โ”œโ”€โ”€ docs/                    # Documentation hierarchy (see above)
โ”œโ”€โ”€ apps/
โ”‚   โ””โ”€โ”€ embers/              # React frontend application
โ”‚       โ”œโ”€โ”€ src/
โ”‚       โ”‚   โ”œโ”€โ”€ lib/         # Shared components and utilities
โ”‚       โ”‚   โ”œโ”€โ”€ pages/       # Route components
โ”‚       โ”‚   โ””โ”€โ”€ public/      # Static assets
โ”‚       โ””โ”€โ”€ package.json     # Frontend dependencies
โ”œโ”€โ”€ packages/
โ”‚   โ””โ”€โ”€ client/              # TypeScript client SDK
โ”‚       โ”œโ”€โ”€ src/
โ”‚       โ”‚   โ”œโ”€โ”€ api-client/  # Auto-generated API client
โ”‚       โ”‚   โ”œโ”€โ”€ entities/    # Core blockchain entities
โ”‚       โ”‚   โ””โ”€โ”€ functions.ts # Wallet operations
โ”‚       โ””โ”€โ”€ tests/           # SDK test suites
โ”œโ”€โ”€ .github/workflows/       # CI/CD pipelines
โ”œโ”€โ”€ CLAUDE.md                # Project context for LLM assistance
โ””โ”€โ”€ pnpm-workspace.yaml      # Monorepo configuration

Development Workflow

  1. ๐Ÿ“– Read Documentation - Start with docs/requirements/
  2. ๐Ÿค– LLM Integration - Use comprehensive context from our docs structure
  3. โš™๏ธ Traditional Practices - Follow CI/CD, testing, and code review standards
  4. ๐Ÿ“ Update Documentation - Keep all documentation current with changes
  5. ๐Ÿ” Context Files - This project uses CLAUDE.md for LLM system context

๐Ÿš€ Features

Frontend Application (apps/embers/)

  • AI Agent Management: Create, edit, and deploy AI agents to blockchain
  • Wallet Integration: Secure wallet functionality with authentication
  • Protected Routes: Authentication-gated access to sensitive operations
  • Modern UI: React 19 with SCSS modules and responsive design

Client SDK (packages/client/)

  • Wallet Operations: Send tokens, check balances, manage wallet state
  • AI Agent Deployment: Deploy and interact with AI agents on-chain
  • Cryptographic Security: Built with Noble curves for secure key management
  • Type Safety: Full TypeScript support with Zod validation

๐Ÿ› ๏ธ Technical Stack

  • Frontend: React 19, TypeScript, Vite, SCSS Modules
  • State Management: TanStack Query, React Context
  • Routing: React Router v7
  • Cryptography: @noble/curves, js-sha3, blakejs
  • Testing: Jest with React Testing Library
  • Build Tools: Vite, pnpm workspaces
  • Linting: ESLint, Prettier, Stylelint

๐Ÿ” Security & Architecture

  • Private Key Management: Secure key generation and storage
  • Address Validation: Cryptographic address verification
  • Type Safety: Runtime validation with Zod schemas
  • Authentication: Protected routes with wallet-based auth
  • API Integration: Auto-generated client from OpenAPI schema

License

License: Apache 2.0