
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@ensdomains/ensjs
Advanced tools
The ultimate ENS javascript library, with viem under the hood.
Install @ensdomains/ensjs, alongside viem.
npm install @ensdomains/ensjs viem
The most simple way to get started is to create a public ENS client, with a supported chain and transport imported from viem. The public client has all the read functions available on it, as well as all subgraph functions.
// Import viem transport, viem chain, and ENSjs
import { http } from 'viem'
import { mainnet } from 'viem/chains'
import { createEnsPublicClient } from '@ensdomains/ensjs'
// Create the client
const client = createEnsPublicClient({
chain: mainnet,
transport: http(),
})
// Use the client
const ethAddress = client.getAddressRecord({ name: 'ens.eth' })
Docs can be found here. Full docs site coming soon.
FAQs
ENS javascript library for contract interaction
We found that @ensdomains/ensjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.