Skip to content

feat: implement invoice submission form for NFT minting #186#311

Merged
AlAfiz merged 2 commits into
BETAIL-BOYS:mainfrom
KarenZita01:feat/invoice-submission-form
Apr 27, 2026
Merged

feat: implement invoice submission form for NFT minting #186#311
AlAfiz merged 2 commits into
BETAIL-BOYS:mainfrom
KarenZita01:feat/invoice-submission-form

Conversation

@KarenZita01
Copy link
Copy Markdown
Contributor

Overview
This PR introduces the core invoice submission form for the factoring platform. It allows users to input invoice details which are then validated and formatted for the Soroban smart contract.

Changes
Validation: Integrated Zod for strict client-side validation (future dates, positive amounts).

State Management: Used react-hook-form for efficient, performant input handling.

Fee Calculation: Added real-time display of protocol and network fees to ensure transparency.

Data Formatting: Implemented payload formatting to match the TradeFlow-Core contract requirements (e.g., decimal handling for XLM).

Acceptance Criteria Check
[x] Multi-step/Comprehensive form implemented.

[x] Client-side validation for Amount and Due Date.

[x] Dynamic fee calculation display.

[x] Payload sanitized and formatted for Soroban.

Fixes #186

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 26, 2026

@KarenZita01 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AlAfiz AlAfiz merged commit aec0f18 into BETAIL-BOYS:main Apr 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement the invoice submission form for NFT minting

2 participants