Skip to content

feat: multi-chain subscription management with unified billing (#705)#796

Open
sheyman546 wants to merge 5 commits into
Smartdevs17:mainfrom
sheyman546:main
Open

feat: multi-chain subscription management with unified billing (#705)#796
sheyman546 wants to merge 5 commits into
Smartdevs17:mainfrom
sheyman546:main

Conversation

@sheyman546

@sheyman546 sheyman546 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Closes #705


Implements #705 - Multi-chain subscription management with unified billing across Stellar and EVM chains.

Changes

Types & Configuration

  • Added \ChainType\ enum (EVM, STELLAR) and multi-chain wallet types
  • Added Stellar network configuration
  • Cross-chain subscription fields and billing aggregation types

Wallet Service

  • Stellar (Freighter) wallet connection via \connectStellarWallet()\
  • \switchChain()\ for dynamic EVM/Stellar switching
  • Multi-chain balance fetching

Cross-Chain Services (New)

  • CrossChainRoutingService - Chain-agnostic payment routing, bridge fees, billing aggregation
  • CrossChainNotificationService - Unified cross-chain notifications

Subscription Store

  • Chain filtering, cross-chain transfer, billing aggregation
  • Updated \calculateStats()\ with chain breakdown

Smart Contracts

  • Subscription contract - Cross-chain transfer, billing aggregation, unified subscription queries
  • Oracle contract - Multi-chain price feeds (
    egister_chain_feed, \get_chain_price, \get_aggregate_price)
  • Types crate - New \CrossChainTransfer\ storage key

Hooks

  • useCrossChainAnalytics - Unified analytics dashboard
  • useChainSwitching - Chain switching with connection management

Acceptance Criteria

  • Unified subscription list across chains
  • Cross-chain billing aggregation
  • Chain-agnostic payment routing
  • Unified analytics dashboard
  • Chain switching for payments
  • Cross-chain subscription transfer
  • Unified notification system

oluwaseyi1996-netizen added 2 commits July 25, 2026 07:44
…ing across Stellar and EVM

- Add ChainType enum and multi-chain wallet types
- Update WalletServiceManager with Stellar/Freighter support and chain switching
- Create CrossChainRoutingService for cross-chain payment routing
- Add crossChainNotificationService for unified notifications
- Update subscription store with cross-chain filtering, transfer, and billing aggregation
- Add useCrossChainAnalytics and useChainSwitching hooks
- Update subscription contract with cross-chain transfer and billing aggregation
- Update oracle contract with multi-chain price feed support
- Add cross-chain storage keys and types to types crate
- Update dummy data with chain info for backward compatibility
@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

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

@sheyman546

Copy link
Copy Markdown
Contributor Author

the ci fail is from pre existing issue
thank you

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 multi-chain subscription management with unified billing across Stellar and EVM

1 participant