content-hash
content-hash copied to clipboard
simple tool to encode/decode content hash for EIP 1577 compliant ENS Resolvers
Hey @pldespaigne, Thanks for maintaining this! Am I correct to assume that your library doesn't support V1 ? ``` > contentH = contentHash.fromIpfs("bafkreifuddi6sxhn5i35ubm4haia4jzzdivrqppnndnuin3jsgyc2np7om") Uncaught: Error: multihash length inconsistent: 0x8ec2edf59a1e02765b50fd95f351d269c847f3be07db370b28b0bef12a7a29dd5271e360349fdff1f8 ```
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
trying to decode... 0xe30101551220383f9d360f7fc7c8371ec14db03641f7be0c08b2348fd3cbd8e9225b255b6a98 Produces QmS8DoRfDh1dsi6U6sRtq7UVezTfEUsmUYucKeyZw9UM2P Which produces the following error on gateways... ipfs cat /ipfs/QmS8DoRfDh1dsi6U6sRtq7UVezTfEUsmUYucKeyZw9UM2P/: protobuf: (PBNode) invalid wireType, expected 2, got 4
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I struggled to be able to encode path for ipns, because you need to bs58 encode this first: https://github.com/cryptonative-ch/ipns-for-ens Normal people just use the https://app.ens.domains, but DXdao has to set...
This PR adds support to encode and decode Skylinks to content hashes. [Skynet](https://siasky.net/) is a decentralized CDN built on top of the Sia network.