📄️ Status
Overview of deployed Green Goods services, chain artifacts, and activation boundaries. A chain can have contract artifacts without having every schema, optional module, frontend build, or indexer surface active.
📄️ Contracts
Smart contract deployment uses a two-layer system: a TypeScript CLI (deploy.ts) that orchestrates the process and shells out to a Solidity deploy script (Deploy.s.sol) via forge script.
📄️ Indexer
The Green Goods indexer uses Envio (v2.32.3) to index on-chain events into a PostgreSQL-backed GraphQL API. Deployment involves codegen, Docker orchestration, and environment configuration.
📄️ Client PWA
The client is an offline-first Progressive Web App built with Vite and React. Deployment produces a static build with service worker support for offline functionality.
📄️ Admin
The admin dashboard is a Vite + React SPA for garden operators. It shares the same build toolchain and dependency chain as the client but targets desktop browsers and does not include service worker or offline-first capabilities.
📄️ Agent
The agent package (packages/agent/) is a Hono-based bot and API service that provides Telegram integration for the Green Goods protocol. It handles work submission via chat, blockchain interactions, public browser APIs, and Pinata signed upload URLs.