flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[DX] Add --count and --wallet CLI flags to scripts/seed-mock-data.ts for customizable local seeding

Open blurbeast opened this issue 1 month ago • 9 comments

Overview

scripts/seed-mock-data.ts populates local development databases with sample streams, but uses fixed hardcoded addresses and stream counts.

Problem

  • Developers testing pagination (e.g. 50+ streams) or testing with their own Freighter Testnet public key must manually edit scripts/seed-mock-data.ts.

Proposed Changes

  1. Parse optional CLI flags --count <number> (default: 10) and --wallet <G...address> in scripts/seed-mock-data.ts.
  2. Print a clear summary table to the console after seeding showing how many active, paused, and completed streams were created for the target wallet.

Acceptance Criteria

  • [ ] Running npx tsx scripts/seed-mock-data.ts --count 25 --wallet G... seeds 25 streams associated with the specified address.
  • [ ] Prints a helpful usage message when --help is passed.
  • [ ] Falls back to default mock values when run without flags.

blurbeast avatar Oct 18 '26 05:10 blurbeast

@Walewavy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I can work on this, please assign.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Walewavy to this issue.

Walewavy avatar Oct 18 '26 06:10 Walewavy

@cythecode has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

Hello there, i would like to work o this, kindly assign please

ℹ️ Repo Maintainers: To accept this application, review their application or assign @cythecode to this issue.

cythecode avatar Oct 18 '26 06:10 cythecode

@aduagba4133 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would like to work on it.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @aduagba4133 to this issue.

aduagba4133 avatar Oct 18 '26 06:10 aduagba4133

@GreyDayo has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would like to wok on this issue. please assign

ℹ️ Repo Maintainers: To accept this application, review their application or assign @GreyDayo to this issue.

GreyDayo avatar Oct 18 '26 06:10 GreyDayo

@Audukuma has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would love to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Audukuma to this issue.

Audukuma avatar Oct 18 '26 06:10 Audukuma

@sladeoj has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

hii maintainer i would love to work on this issue please

ℹ️ Repo Maintainers: To accept this application, review their application or assign @sladeoj to this issue.

sladeoj avatar Oct 18 '26 06:10 sladeoj

@Sammydz456 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

hii maintainer i would love to work on this issue please

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Sammydz456 to this issue.

Sammydz456 avatar Oct 18 '26 06:10 Sammydz456

Congratulations, @GreyDayo! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

🧑‍💻 @GreyDayo: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Oct 18 '26 06:10 drips-wave[bot]

This issue has been completed by @GreyDayo as part of the Stellar Wave Program's 10th Wave 🥳

😎 @GreyDayo: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Oct 18 '26 07:10 drips-wave[bot]