
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@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.
FAQs
ENS javascript library for contract interaction
The npm package @ensdomains/ensjs receives a total of 24,663 weekly downloads. As such, @ensdomains/ensjs popularity was classified as popular.
We found that @ensdomains/ensjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.