Skip to content

Instantly share code, notes, and snippets.

View 2color's full-sized avatar
🎁
Building

Daniel Norman 2color

🎁
Building
View GitHub Profile
CID Name Tags
bafyreidyjlqwe7dmvnk5ts2c4firtfaordiy5pzywmtavcqv5lvosa46lu DAG with same 3 blocks balooning into ~444TB
bafybeib66nyby767evpqrnpen4u7jeflavtmrhcdkazptyrxaxhlt4qyaa Monkey JPGs at nft.storage
bafybeifcd5ysgcmgsn3l3nebo3wu7jsuf7xumnsfup55dk2ikis3ujsnue Malformed UnixFS discuss.ipfs.tech
ESM Metagenomic Atlas dataset (around 30TiB total)
bafyaabakaieac Inlined Empty UnixFS dir
bafkqaaa Inlined Empty File
bafybeifiq5oapwiv55ss6vlqpck3mbsh4mzbal35s6zw5yrskphzjm7ypa 1M JSONs: NFT drop that hits wantlist overflow bug
QmeV8PDCHC1HRY3wjDC1WKXu66VyLfYJajMpzYNAgig5Vp IPTV OFFLINE video
QmNwDj9iUY3yJyDUP9yGagF6vFiorXEqx74pGn6RH2uTnz 2.1TB trusted-setup.filecoin.io
.DS_Store
._.DS_Store
**/.DS_Store
**/._.DS_Store
.vscode
.idea
Thumbs.db
# used to need to run git config --global core.excludesfile ~/.gitignore_global to set this but apparently no longer needed https://x.com/bate5a55/status/1840594630972191118
@2color
2color / blake3-multihash.ts
Created February 21, 2025 09:52
How to use Verified Fetch with BLAKE3
import { blake3 as b3 } from '@noble/hashes/blake3'
import { from } from 'multiformats/hashes/hasher'
import { createVerifiedFetch } from '@helia/verified-fetch'
export const blake3 = from({
name: 'blake3',
code: 0x1e,
encode: (input) => b3(input),
})