Skip to content

Implement payment.top_up #1178

Description

@filvecchiato

Top-ups and payment requests as the provider's worker uses them.

  • payment.topUp for the PrivateKey source, with a caller-chosen id and a status stream
  • payment.request with a caller-chosen id, AlreadyExists, and PartiallyClaimed in its status
  • Hosts serve both through TopUpPlatform and PaymentPlatform
  • Partial-claim retries stay with the caller

Done when A provider worker credits CASH into Pocket, and collects CASH from it, with status to the end.
Depends on #1137
Refs runtime/capabilities/payment.rs

Activity

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

Metadata

Metadata

Assignees

Labels

FundingFunding modality workstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions