
Product
Introducing Custom Pull Request Alert Comment Headers
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
ens-ipfs-resolver
Advanced tools
This package provides an api and an executable which resolves the content hash of an ENS domain. It uses local Ethereum- and IPFS nodes if available and otherwise defaults to public gateways.
npm i -g ens-ipfs-resolver
To import and create a resolver object:
const ensIpfsResolver = require('ens-ipfs-resolver')
let resolver = new ensIpfsResolver([options])
The default options are:
{
ethPort: 8545,
ipfsPort: 8080
}
resolver.ensToUrl(name : string) : Promise
resolver.ensToUrl("raksooo.eth")
.then(console.log)
// output: http://localhost:8080/ipfs/QmWeSMxMWpsrsJdBU6Zqc6DXZEf4WXHkPzBAdmPjmmHUna
resolver.ensToIpfsHash(name : string) : Promise
resolver.ensToIpfsHash("raksooo.eth")
.then(console.log)
// output: QmWeSMxMWpsrsJdBU6Zqc6DXZEf4WXHkPzBAdmPjmmHUna
Usage: ensipfs [options] <domain>
Options:
-e, --eth-rpc-port <n>
-i, --ipfs-port <n>
-h, --help
$ ensipfs raksooo.eth
http://localhost:8080/ipfs/QmWeSMxMWpsrsJdBU6Zqc6DXZEf4WXHkPzBAdmPjmmHUna
FAQs
Content resolver for Ethereum name service
We found that ens-ipfs-resolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.