Description — what to implement and the why/impact.
Users need a reliable interface to deposit and withdraw fiat currency into stablecoins (like USDC) via Stellar SEP-24 anchors directly within the neobrutalist UI. This task implements the anchor modal flow, connecting user wallets to registered SEP-24 interactive anchor endpoints.
Context & Requirements — background, constraints, design references, edge cases;
- Grounded in
src/components/ui/ primitives and src/lib/types.ts for network communication.
- Must handle popup or embedded iframe interactions required by SEP-24 interactive transfer specs.
- Must gracefully manage network errors, anchor unavailability, and session timeouts.
Acceptance Criteria — a checklist ("- [ ] ...") of specific, testable conditions that define "done".
Implementation Guidance — likely files/modules to touch and a suggested approach.
- Touch
src/components/anchors/ (or create if needed) and integrate with API hooks in src/lib/. Refer to Stellar SEP-24 specifications for parameter encoding.
Testing & Validation — how the contributor should prove it works.
- Run
npm test and npm run typecheck to ensure type safety and test coverage.
- Manual verification of modal open/close states and form validation.
Submission Guidelines — must open a PR that includes "Closes #"; assignment is required before starting.
Wave complexity: Medium
Description — what to implement and the why/impact.
Users need a reliable interface to deposit and withdraw fiat currency into stablecoins (like USDC) via Stellar SEP-24 anchors directly within the neobrutalist UI. This task implements the anchor modal flow, connecting user wallets to registered SEP-24 interactive anchor endpoints.
Context & Requirements — background, constraints, design references, edge cases;
src/components/ui/primitives andsrc/lib/types.tsfor network communication.Acceptance Criteria — a checklist ("- [ ] ...") of specific, testable conditions that define "done".
Implementation Guidance — likely files/modules to touch and a suggested approach.
src/components/anchors/(or create if needed) and integrate with API hooks insrc/lib/. Refer to Stellar SEP-24 specifications for parameter encoding.Testing & Validation — how the contributor should prove it works.
npm testandnpm run typecheckto ensure type safety and test coverage.Submission Guidelines — must open a PR that includes "Closes #"; assignment is required before starting.
Wave complexity: Medium