Skip to content

hellomother-ai/motherdao-mono

Repository files navigation

MotherDAO Monorepo

This monorepo contains all the services and applications for the MotherDAO platform.

Project Structure

motherdao/
├── apps/
│   ├── frontend/          # Next.js user interface
│   └── agent-portal/      # Agent development dashboard
├── packages/
│   ├── core/              # Shared core utilities
│   ├── contracts/         # Smart contracts for AVS
│   └── sdk/               # Agent Development Kit
├── services/
│   ├── registration/      # Agent registration service
│   ├── avs/              # Actively Validated Service
│   ├── graph/            # Agent Graph service
│   ├── context/          # Shared Context Layer
│   └── payments/         # Payment infrastructure
└── infrastructure/
    ├── deployment/       # Deployment configurations
    └── monitoring/       # Observability setup

Prerequisites

  • Node.js 20.x or later
  • PNPM 8.x or later
  • Docker and Docker Compose
  • Git

Getting Started

  1. Install dependencies:

    pnpm install
  2. Build all packages:

    pnpm build
  3. Start development servers:

    pnpm dev

Alternatively, use Docker Compose for development:

docker-compose up

Development Workflow

Package Management

  • Add a dependency to a workspace:

    pnpm add <package> --filter <workspace-name>
  • Add a development dependency:

    pnpm add -D <package> --filter <workspace-name>

Common Commands

  • pnpm build: Build all packages and applications
  • pnpm dev: Start development servers
  • pnpm test: Run tests across all packages
  • pnpm lint: Lint all packages
  • pnpm clean: Clean build artifacts

Working on Services

Each service can be developed independently:

  1. Navigate to the service directory
  2. Run pnpm dev to start the service
  3. Service will be available on its designated port:

Contributing

  1. Create a new branch for your feature
  2. Make your changes
  3. Run tests and linting
  4. Submit a pull request

Docker Support

Each service includes a Dockerfile and can be built individually:

docker build -f services/registration/Dockerfile .

For local development with all services:

docker-compose up

Documentation

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •