Skip to content

chore(backend): Configure environment and constants for pool indexing #72

Description

@rafamiziara

Overview

Set up backend configuration for pool creation event indexing across supported chains.

Tasks

  • Add chain configs to constants/chains.ts (RPC URLs, PoolFactory addresses)
  • Add Firestore collection names to constants/firestore.ts
  • Set up environment variables for RPC URLs (POLYGON_AMOY_RPC_URL)
  • Add contract addresses (POOL_FACTORY_ADDRESS_AMOY)
  • Add start block numbers (START_BLOCK_AMOY)
  • Configure EVENT_SYNC_INTERVAL_MINUTES=5

Acceptance Criteria

  • All environment variables documented and configured
  • Chain configs support Polygon Amoy and localhost
  • Firestore collection names centralized
  • Configuration follows existing patterns

Related Documentation

  • See docs/POOL_CREATION_ARCHITECTURE.md Configuration section
  • See docs/POOL_CREATION_TASKS.md Task 7, 20

Labels: comp: backend, type: chore

Milestone: Sprint 3: Pool Creation

Part of Epic: #35

Metadata

Metadata

Assignees

Labels

comp: backendIssues for the Firebase Cloud Functions in packages/backendtype: choreA routine task that doesn't add new features or fix a bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions