dapphub / dapphub/dmap

drop dependencies from docs/main.js

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
59
Forks
16
PR merge metrics
No merged PRs in 30d

Description

- drop ethers completely and use dmap.js only, refactor dmap.js to use a provider directly, not an ethers object
- sha256
- + I think we should focus on making sure the endpoint can be configured rather than verifying CIDs -- your endpoint is supposed to be a local client you trust to do the hash check, in any case, utils.js currently imports entire multiformats
- (IPFS) node.cat
- + replace to a request to the endpoint, you can use `fetch` or whatever, it is a simple rpc

Contributor guide

No contributing guide indexed for this repository

Research direction

Read docs/main.js, dmap.js, and utils.js first to map the current dependency and endpoint flow. Check how the endpoint is configured and how node.cat, hashing, and multiformats are currently used. Done means the requested endpoint-based flow works without ethers and the resulting behavior is covered by the project's available checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.