Skip to content

feat(soroban): Create subscription escrow contract #157

Description

@zeemscript

Description

Develop a Soroban smart contract for subscription-based escrow that holds student payments and releases funds to educators on a monthly basis. This ensures automatic, trustless recurring payments for educational services.

Acceptance Criteria

  • Smart contract holds escrowed subscription funds
  • Automatic monthly release of funds to educator address
  • Support for early termination with refund calculation
  • Admin functions for pausing/resuming subscriptions

Files to modify/create

  • contracts/subscription-escrow/src/lib.rs
  • contracts/subscription-escrow/Cargo.toml
  • Integration with src/modules/stellar/soroban.service.ts
  • Test suite in contracts/subscription-escrow/src/test.rs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:highHigh complexityenhancementNew feature or requestsorobanSoroban smart contractsstellarStellar network related

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions