paritytech / paritytech/host-rust-core
RFC: Funding executable type in the product manifest
Open
Funding
Product permissions
rfc
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
Source PR: #458 · docs/rfcs/product-manifest.md · @BigTava
Description
The product manifest gains a fourth executable type, funding, published at funding.<product_id>.<tld> and backing the Funding modality.
Motivation
The Host builds its funding source list from dotNS records alone, before any provider code runs, and the v1 executable set has nowhere to declare that surface.
Requirements
- Executable types become App, Widget, Funding, Worker.
FundingManifest = { kind: "funding"; modes: FundingMode[] }, withmodesnon-empty.FundingModeis"CARD" | "BANK" | "CRYPTO".- Bytes are located by the subname's
contenthash, as for every executable.
Tasks
- RFC document body
- Implementation — rust-core
- Implementation — hosts
- dotli
- Desktop
- iOS
- Android
- host-cli
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.