Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create @helia/verified-fetch #392

Merged
merged 108 commits into from
Feb 2, 2024
Merged

Conversation

SgtPooki
Copy link
Member

@SgtPooki SgtPooki commented Jan 17, 2024

Fixes #348

Tasks

packages/verified-fetch/package.json Outdated Show resolved Hide resolved
packages/verified-fetch/src/index.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/interface.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/utils/get-content-type.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/verified-fetch.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/verified-fetch.ts Outdated Show resolved Hide resolved
@SgtPooki SgtPooki self-assigned this Jan 18, 2024
@SgtPooki SgtPooki mentioned this pull request Jan 18, 2024
17 tasks
@2color
Copy link
Member

2color commented Jan 18, 2024

As discussed, for a long (multiblock) UnixFS JSON, try https://cloudflare-ipfs.com/ipns/tokens.uniswap.org which resolves to QmQJ8fxavY54CUsxMSx9aE9Rdcmvhx8awJK2jzJp4iAqCr

packages/verified-fetch/test/gateways.spec.ts Outdated Show resolved Hide resolved
packages/verified-fetch/test/gateways.spec.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/verified-fetch.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/verified-fetch.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/verified-fetch.ts Outdated Show resolved Hide resolved
packages/verified-fetch/test/fixtures/create-kubo.ts Outdated Show resolved Hide resolved
packages/verified-fetch/test/gateways.spec.ts Outdated Show resolved Hide resolved
packages/verified-fetch/README.md Outdated Show resolved Hide resolved
@SgtPooki
Copy link
Member Author

As discussed, for a long (multiblock) UnixFS JSON, try cloudflare-ipfs.com/ipns/tokens.uniswap.org which resolves to QmQJ8fxavY54CUsxMSx9aE9Rdcmvhx8awJK2jzJp4iAqCr

@2color a test for this has been added and is working properly.

packages/verified-fetch/src/index.ts Show resolved Hide resolved
packages/verified-fetch/src/index.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/index.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/index.ts Outdated Show resolved Hide resolved
packages/verified-fetch/src/index.ts Outdated Show resolved Hide resolved
@SgtPooki
Copy link
Member Author

SgtPooki commented Feb 1, 2024

FYI @achingbrain @lidel @aschmahmann that ipfs-unixfs-exporter is now being used for walking paths

@achingbrain achingbrain merged commit f243de2 into main Feb 2, 2024
18 checks passed
@achingbrain achingbrain deleted the feat/create-verified-fetch branch February 2, 2024 11:46
@achingbrain achingbrain mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat: Helia fetch for dApps
6 participants