feat(truapi-provider): native and wasm ChainProvider with WebSocket and embedded smoldot backends - #276
Merged
Merged
Conversation
…et and embedded smoldot backends
BigTava
marked this pull request as draft
July 13, 2026 20:45
# Conflicts: # CLAUDE.md # README.md
…ork build for embedded smoldot
…ate behind a uniffi feature
…d-client locks, panic-free light-client builder, and Apache-2.0 attribution for the vendored platform
… GenericError, and require at least one backend feature
…ed platform client identity, a WS disconnect test, and doc/dep-pin notes
…inProvider since it also runs on wasm32
…e seeding and their wasm JS bindings
…asm light-client test builder call
…n/task/time/num types
…ir last parachain connection closes
…heck plus headless browser tests
Collaborator
|
For reference, the design so far has been
Owning the connection end to end make sense as well, but might require some research as well to understand the trade-off, especially on native platform like iOS where a networking stack built on top of the Native SDK might Anyway that should not prevent you from testing this PR out. The core should probably now own the networking settings preference that currently live in dotli |
bkchr
reviewed
Jul 14, 2026
bkchr
reviewed
Jul 14, 2026
bkchr
reviewed
Jul 14, 2026
…bundled specs borrow like smoldot's &str
…ation` to match smoldot
…g instead of a caller-supplied option
…ilding the crate to browser WASM
…e a parachain's relay as provider topology
…m publish automation with a dev-tag snapshot script
…ed and drop the caller-facing toggle
…build through the npm automation
…e public builder and construct catalog sources directly
… the FFI test and native docs
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
TarikGul
reviewed
Aug 14, 2026
TarikGul
reviewed
Aug 14, 2026
TarikGul
reviewed
Aug 14, 2026
TarikGul
reviewed
Aug 14, 2026
…the refusal path, and deadline snapshot
TarikGul
approved these changes
Aug 18, 2026
TarikGul
added a commit
that referenced
this pull request
Aug 18, 2026
#276 landed a new crate and three distribution surfaces after this branch was cut, each carrying the old repository name: the provider's iOS binary target and release script, its Android POM metadata, its SPM instructions, and the @parity/truapi-provider npm metadata. The iOS provider binary is still 0.0.0-unpublished, so its first release has to be cut against the renamed repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
truapi-providercrate: a native andwasm32implementation oftruapi_platform::ChainProviderwhose per-chain backend is a remote WebSocket JSON-RPC node or an embedded smoldot light client.