Skip to content

Implement Soroban Refund Flow For Contributors#61

Merged
ritik4ever merged 2 commits intoritik4ever:mainfrom
RemmyAcee:implement-sorobon-refund
Mar 30, 2026
Merged

Implement Soroban Refund Flow For Contributors#61
ritik4ever merged 2 commits intoritik4ever:mainfrom
RemmyAcee:implement-sorobon-refund

Conversation

@RemmyAcee
Copy link
Copy Markdown
Contributor

Close: #31
Implemented the refund flow end to end so it now goes through Soroban first, then reconciles local state after a confirmed on-chain success. The main pieces are in [soroban.ts], [App.tsx], and the backend refund verification path in [index.ts] plus [sorobanRpc.ts].

On success, the backend now records richer refund metadata into campaign history from [campaignStore.ts], and the timeline renders that context in [CampaignTimeline.tsx]. I also exposed contract/network config for the frontend from [index.ts], and updated the refund payload/types in [schemas.ts] and [campaign.ts].

Verification: frontend typecheck passed with npx tsc --noEmit. I couldn’t fully verify the backend build because better-sqlite3 failed to install on this machine under Node 24 without the required Visual Studio C++ toolchain, and the full frontend Vite build is currently blocked by a broken Rollup native optional dependency in node_modules.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

@RemmyAcee is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@RemmyAcee 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

@RemmyAcee
Copy link
Copy Markdown
Contributor Author

Done, Close: #61

@ritik4ever
Copy link
Copy Markdown
Owner

@RemmyAcee please resolve the conflicts

@RemmyAcee
Copy link
Copy Markdown
Contributor Author

@RemmyAcee please resolve the conflicts

Done

@ritik4ever ritik4ever merged commit c8d4338 into ritik4ever:main Mar 30, 2026
1 of 6 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.

Implement Soroban Refund Flow For Contributors

2 participants