Description: Develop a CLI seeding script (npm run seed) that populates the local development database with deterministic, realistic historical protocol data (users, pools, and thousands of swaps).
Context / Motivation: Frontend developers and new open-source contributors need a fully populated local API to work on charting or UI features without having to manually trigger hundreds of on-chain transactions first.
Acceptance Criteria: - [ ] Create a seeding script utilizing the project's ORM (Prisma/TypeORM).
Description: Develop a CLI seeding script (
npm run seed) that populates the local development database with deterministic, realistic historical protocol data (users, pools, and thousands of swaps).Context / Motivation: Frontend developers and new open-source contributors need a fully populated local API to work on charting or UI features without having to manually trigger hundreds of on-chain transactions first.
Acceptance Criteria: - [ ] Create a seeding script utilizing the project's ORM (Prisma/TypeORM).
Technical Pointers: Use a library like
faker.jsto generate realistic Stellar G-addresses and randomized (but mathematically valid) swap amounts. Wrap the massive array of inserts in a single database transaction to speed up the seeding execution.