paritytech / paritytech/polkadot-cli
add ability to do a query/tx via smoldot by just adding a --smoldot or --lightclient flag
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 2
- Avg merge
- 12h 35m
- Merged PRs (30d)
- 4
Description
We removed smoldot support in it's intial form.
However we want to support this. It should rpobably not be the default choice for all calls and queries as it's super slow to starutp and sync.
What would need to change, how do we make this happen? What kind of additional information do we need & want to show when using smoldot for a call/query.
We need the chain config for smoldot as well, which is not always available, we can deliver it for the built int chains in the initial installation but we need to offer users to add their chainconfig for a custom added chain via dot chain add <chain> command.
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
Start by tracing the CLI paths for query and transaction calls, then inspect how dot chain add <chain> stores or accepts chain configuration. Determine how a --smoldot or --lightclient flag would select smoldot and what status or sync information should be shown. Done requires support for built-in chain configs and a way to provide configs for custom chains, but the issue leaves the design open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100