paritytech / paritytech/contract-dependency-manager
Host API Support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 3
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 3
Description
CDM should work from inside of the host API.
Currently CDM talks directly to websockets with PAPI. We should update createCdm to take in options such as papi or host api— rough example:
const cdm = createCdm({
backend: hostAPI
})
which should route all contract queryeis/txs through the Host API
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 at the createCdm entry point and trace how contract queries and transactions currently reach PAPI over websockets. Compare the requested backend: hostAPI option with the existing path; done means both query and transaction flows can route through the Host API while the current backend remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100