flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Docs] Create visual architecture diagram and sequence flow for Batch Withdrawal in docs/

Open blurbeast opened this issue 2 months ago • 8 comments

Overview

The newly added batch_withdraw functionality touches frontend drawers, SDK transaction builders, Soroban smart contracts, and indexer event loops.

Problem

  • Contributors need a clear, visual reference of the end-to-end data and transaction flow.

Proposed Changes

  1. Add docs/architecture/BATCH_WITHDRAWAL.md with a comprehensive Mermaid sequence diagram:
    • User wallet interaction -> Batch claim drawer.
    • Simulation & resource estimation -> Freighter signing.
    • Soroban execution -> Event emission -> Indexer ingestion -> SSE client broadcast.

Acceptance Criteria

  • [ ] Clean Mermaid diagram renders correctly on GitHub.
  • [ ] Includes error scenarios (partial claim, unauthorized, zero balance).
  • [ ] Linked in main documentation table of contents.

blurbeast avatar Sep 27 '26 05:09 blurbeast

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

Hi Maintainer, I’ve reviewed the issue and understand the requirements. I’m ready to work on it and deliver a clean solution.

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

iredis avatar Sep 27 '26 07:09 iredis

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

I fully understand what needs to be done and can deliver. Kindly assign

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

DevScoopee avatar Sep 27 '26 07:09 DevScoopee

@alhabeeby-hub has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

Hi Maintainer, I understand the requirements and am ready to implement a clean solution that meets the acceptance criteria. Please assign it to me.

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

alhabeeby-hub avatar Sep 27 '26 07:09 alhabeeby-hub

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

Hi Maintainer, reviewed the issue in detail. Full stack background with solid experience relevant to this task. No blockers on my end — I'm ready to submit a PR shortly. Please assign.

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

Cmitchelle7 avatar Sep 27 '26 15:09 Cmitchelle7

Congratulations, @Cmitchelle7! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

🧑‍💻 @Cmitchelle7: 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 Sep 27 '26 15:09 drips-wave[bot]

PR: https://github.com/LabsCrypt/flowfi/pull/1573

Note: the 3 failing checks on the PR are all npm ci lockfile drift on main (vitest 2→3, @stellar/stellar-sdk →17.2.0, next →16.3.3). The PR is docs-only — no code touched. Could a maintainer override for docs, or should I regenerate lockfiles separately?

Cmitchelle7 avatar Sep 29 '26 02:09 Cmitchelle7

🎉 This issue has been marked as completed on GrantFox!

@Cmitchelle7's PR #1573 was approved and merged by @K1NGD4VID.

🏆 @Cmitchelle7: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,782 total points). Track your full progress on GrantFox.

👏 Great work, @Cmitchelle7! Keep contributing to LabsCrypt.

grantfox-oss[bot] avatar Oct 06 '26 07:10 grantfox-oss[bot]

This issue has been marked as completed by a Drips Wave moderator for @Cmitchelle7 as part of the Stellar Wave Program's 9th Wave 🥳

Moderator's reason: [Auto-assessed] The PR was merged by maintainer @K1NGD4VID (as confirmed by the GrantFox completion notice and merged status on PR #1573), and the documentation changes in docs/architecture/BATCH_WITHDRAWAL.md and README.md thoroughly fulfill the issue's requirements.

😎 @Cmitchelle7: 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.

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

ℹ️ Note: This issue was marked complete via moderation. Points were issued even though the GitHub issue remains open.

drips-wave[bot] avatar Oct 11 '26 16:10 drips-wave[bot]