Skip to content

Feature/pay live preview - #297

Merged
Spagero763 merged 12 commits into
tributary-protocol:mainfrom
Olamidepy:feature/pay-live-preview
Jul 25, 2026
Merged

Feature/pay live preview#297
Spagero763 merged 12 commits into
tributary-protocol:mainfrom
Olamidepy:feature/pay-live-preview

Conversation

@Olamidepy

Copy link
Copy Markdown
Contributor

The Pay tab now shows a live per-recipient payout breakdown instantly as the user types the payment amount, before signing the transaction. This replaces the previous async RPC-based preview with a local calculation using the same rounding math as the contract (amount × share / 10000, dust to last recipient), making the preview instant and resilient to network latency. Unit tests cover equal splits, dust routing, and edge cases.

#69 resolved

@Olamidepy
Olamidepy requested a review from Spagero763 as a code owner July 18, 2026 12:53
@Spagero763

Copy link
Copy Markdown
Contributor

This PR's contract check is failing on markdown-link-check / cspell, but not because of anything in your diff — your branch was forked before a docs fix landed on main (the flagged word/link doesn't exist in your changes, and main passes this check cleanly). Since "Update branch" is enabled on this repo, click it on this PR and CI should go green without any code changes on your end.

@Olamidepy

Copy link
Copy Markdown
Contributor Author

@Spagero763 kINDLY MERGE

@Spagero763
Spagero763 enabled auto-merge (squash) July 20, 2026 16:33
auto-merge was automatically disabled July 24, 2026 14:49

Head branch was pushed to by a user without write access

@Spagero763
Spagero763 enabled auto-merge (squash) July 25, 2026 16:05
@Spagero763
Spagero763 disabled auto-merge July 25, 2026 16:07
@Spagero763
Spagero763 merged commit ec8fa7c into tributary-protocol:main Jul 25, 2026
3 of 4 checks 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.

2 participants