Skip to content

feat: implement 4 major features (#461, #462, #463, #464)#556

Merged
Smartdevs17 merged 1 commit into
Smartdevs17:mainfrom
dimka90:feat/all-four-issues
Jun 28, 2026
Merged

feat: implement 4 major features (#461, #462, #463, #464)#556
Smartdevs17 merged 1 commit into
Smartdevs17:mainfrom
dimka90:feat/all-four-issues

Conversation

@dimka90

@dimka90 dimka90 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Single PR implementing 4 issues assigned to dimka90.


Issue #461: Frontend — Multi-Step Payment Flow Wizard

Files:

  • frontend/app/[locale]/payments/create/page.tsx - Wizard route
  • frontend/src/components/payments/wizard/WizardContainer.tsx - Step container with progress indicator
  • frontend/src/components/payments/wizard/steps/SelectTypeStep.tsx - Payment type selection
  • frontend/src/components/payments/wizard/steps/ConfigureStep.tsx - Dynamic per-type form with Zod validation
  • frontend/src/components/payments/wizard/steps/ReviewStep.tsx - Summary/review before confirmation
  • frontend/src/components/payments/wizard/steps/ConfirmStep.tsx - Processing/success/error states
  • frontend/store/wizard-store.ts - Zustand store with localStorage persistence

Accepts: Simple, escrow, subscription, batch payment types; step-by-step flow with progress saved across sessions; real-time validation per step.


Issue #462: Backend — Custom Webhook Event Filtering & Subscription Manager

Files:

  • backend/prisma/schema.prisma - WebhookSubscription, WebhookSubscriptionDelivery models
  • backend/src/services/webhooks/subscription-manager.ts - CRUD, pause/resume, testing, metrics, version history
  • backend/src/services/webhooks/event-matcher.ts - JSONPath filtering, delivery dedup, overlapping subscriptions
  • frontend/app/[locale]/dashboard/developers/webhooks/subscriptions/page.tsx - Subscription management UI
  • frontend/lib/api.ts - Subscription API types and methods

Accepts: Multiple subscriptions per merchant; filter by event type, JSONPath conditions; route to different endpoints; pause/resume; delivery metrics; subscription testing.


Issue #463: Core — Smart Contract-Driven Revenue Sharing Pool

Files:

  • contracts/evm/contracts/RevenuePool.sol - EVM revenue pool with configurable split ratios, auto-distribution, claim mechanism
  • contracts/soroban/revenue-pool/Cargo.toml - Soroban revenue pool package
  • contracts/soroban/revenue-pool/src/lib.rs - Soroban revenue pool contract
  • backend/prisma/schema.prisma - RevenuePool, RevenueRecipient, RevenueDistribution models
  • backend/src/services/revenue-pool/index.ts - CRUD, recipient management, balance tracking, distribution history
  • frontend/lib/api.ts - Revenue pool API types
  • frontend/app/[locale]/dashboard/developers/revenue-pools/page.tsx - Pool configuration UI

Accepts: Both Soroban and EVM contracts; configurable split ratios; add/remove recipients via admin; auto-distribution; minimum threshold; claim mechanism; events.


Issue #464: Contract — EVM Paymaster with ERC-4337 Account Abstraction

Files:

  • contracts/evm/contracts/ERC4337Paymaster.sol - ERC-4337 compatible paymaster (IPaymaster interface for EntryPoint v0.7)
  • backend/prisma/schema.prisma - PaymasterBudget, UserOperation models
  • backend/src/services/account-abstraction/index.ts - Bundler integration, gas estimation, budget management
  • frontend/lib/api.ts - Paymaster API types and methods
  • frontend/app/[locale]/dashboard/developers/paymaster/page.tsx - Budget management & operations dashboard

Accepts: Verification paymaster (pre-signed sponsorship) and deposit paymaster (pre-funded) modes; batched user operations; session keys; gas estimation with paymaster sponsorship; budget management dashboard.


Closes: #461
Closes: #462
Closes: #463
Closes: #464

…martdevs17#463, Smartdevs17#464)

Smartdevs17#461 - Frontend: Multi-Step Payment Flow Wizard
- Zustand wizard store with localStorage persistence
- WizardContainer with progress indicator & step navigation
- Steps: SelectType, Configure, Review, Confirm
- React Hook Form + Zod validation per step
- Support for simple, escrow, subscription, batch payments

Smartdevs17#462 - Backend: Custom Webhook Event Filtering & Subscription Manager
- Prisma models: WebhookSubscription, WebhookSubscriptionDelivery
- SubscriptionManager service: CRUD, pause/resume, test, metrics
- EventMatcher service: JSONPath filtering, delivery dedup
- Frontend subscription management page

Smartdevs17#463 - Core: Smart Contract-Driven Revenue Sharing Pool
- EVM RevenuePool.sol: configurable split ratios, auto-distribution, claim
- Soroban revenue-pool contract with same functionality
- Backend revenue-pool service with Prisma models
- Frontend pool configuration UI

Smartdevs17#464 - Contract: EVM Paymaster with ERC-4337 Account Abstraction
- ERC4337Paymaster.sol: IPaymaster interface for EntryPoint v0.7
- Verification & deposit paymaster modes
- Backend account-abstraction service for bundler integration
- Prisma models: PaymasterBudget, UserOperation
- Frontend paymaster budget & operations dashboard
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@dimka90 is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

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

@Smartdevs17 Smartdevs17 merged commit 383db74 into Smartdevs17:main Jun 28, 2026
23 of 48 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

2 participants