util-crate: Create WebSocket and HTTP rpc client
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 489
- Forks
- 293
- Avg merge
- 18h 35m
- Merged PRs (30d)
- 3
Description
In a couple of places, namely CLI and lightClient builder, we duplicate the code for creating a WebSocket and HTTP RPC client.
Ideally, we could move the code to a dedicated util-crate and use that for both purposes.
Taken from: https://github.com/paritytech/subxt/pull/1278#discussion_r1406410869
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Compare the duplicated WebSocket and HTTP RPC client creation in the CLI and lightClient builder, using the linked discussion as context. Trace how both callers currently construct clients, then move the shared logic into a dedicated util-crate and update both callers to use it. Done means both purposes use the shared client implementation without duplicated construction code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design, networking
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100