paritytech / paritytech/host-rust-core

Funding modality

Open
#623 1 comment 0 reactions 1 assignee View on GitHub

@filvecchiato is already working on this.

Since Sep 8, 2026.

Epic Funding R2 blocker
Dominant language
Swift
Stars
10
Forks
3
Avg merge
1d 10h
Merged PRs (30d)
148

Description

Part of #591. Membership is carried by the Funding label and by this issue's sub-issues.

Absorbs the requirement previously stated as REQ3.

The problem

PaymentTopUpSource assumes the product already holds the money. A user who hits
InsufficientBalance has reached a dead end: nothing in the protocol moves value from the
outside world into their CASH balance, so the product can only report the failure and stop.
In the other direction there is no path at all — value cannot leave.

There is also no declared contract for who can move that value, so every provider
integration lands as bespoke host code rather than as a product declaring what it serves.

What has to be true

  • Value moves into a balance from outside, and out of it.
  • A provider declares the modality it serves in its manifest and receives intents addressed
    to it; a consumer declares an intent and watches it to completion.
  • The rails a surface supports are declared, not inferred.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.