📄️ Status
Overview of all deployed Green Goods services, live endpoints, and chain contract addresses.
📄️ 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 Fastify-based bot service that provides Telegram integration for the Green Goods protocol. It handles work submission via chat, blockchain interactions, and IPFS uploads.