paritytech / paritytech/host-rust-core
RFC: Route Relay
Open
@pgherveou is already working on this.
Since Sep 11, 2026.
rfc
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
Source PR: #92 · docs/rfcs/0021-route-relay.md · @pgherveou
Description
host_route_get, host_route_set and host_route_changed relay an opaque route string between a product and the Host shell, so in-product navigation becomes deep-linkable, shareable and reload-stable.
Motivation
The address bar belongs to the Host, so a product's own pushState is invisible to the user, unshareable, and lost on reload. At bootstrap the product also cannot tell which sub-route the user opened.
Requirements
setmirrors push/replace; the empty string means home.changedfires only for Host-side changes and must never echo the product's ownset.- The route is opaque UTF-8; hosts may cap its length and rate-limit
set. - No permission prompt.
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.