Create subxt backend from a substrate backend
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 489
- Forks
- 293
- Avg merge
- 18h 35m
- Merged PRs (30d)
- 3
Description
Hi, thanks for the valuable work you're doing with subxt.
I would like to create an OnlineClient for signing and submitting extrinsics. However I don't want to go through the network and websockets. Is there a way to create a subxt Backend from a substrate ChainHead backend?
My scenario is that we would like to offer some custom RPCs for our users and expose those as part of our substrate based node. As part of those RPC's we would like to use subxt to sign and submit some extrinsics. It doesn't sound optimal to go through the netrwork layer while we already have got access to the full substrate backends including ChainHead. I'm wondering is there a way to create subxt backend from a substrate backend.
Many thanks
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
The issue names OnlineClient, subxt Backend, and the substrate ChainHead backend but no files or tests. Start by locating those abstractions and examining how extrinsics are signed and submitted; done means a clearly scoped way to use the substrate backend without the network layer, or a documented reason it is not supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100