
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@dabit3/decentralized-identity
Advanced tools

Single Sign-On with an Ethereum wallet (for now, other blockchains in the future)
Decentralized identity using Ceramic, IDX, and DIDs.
Learn more about IDX:
npm install @dabit3/decentralized-identity
// uses basicProfile schema by default
const { record } = await getRecord()
console.log('Default user profile: ', record)
Reading records with a custom IDX schema
const { record } = await getRecord({ schema: 'mySchema' })
Default arguments to getRecord:
endpoint: string = "https://ceramic-clay.3boxlabs.com",
network: string = 'ethereum',
ceramicClient: CeramicClient = null,
schema: string = 'basicProfile'
import { client } from @dabit3/connectidx
const {
ceramic, did, idx, error
} = await client()
/*
Congrats!! You are now authenticated 🥳
*/
// reading profile
const data = await idx.get('basicProfile', did.id)
// writing to profile
const profile = {
name: "Nader Dabit",
bio: "DevRel at Edge & Node",
twitter: "dabit3"
}
await idx.set('basicProfile', profile)
Default arguments to client:
endpoint: string = "https://ceramic-clay.3boxlabs.com",
resolvers:[] = null,
address: string = '',
provider: EthereumProfiver = null,
ceramicClient: CeramicClient = null
import { readOnlyClient } from @dabit3/connectidx
const { idx, ceramic } = await readOnlyClient()
const addresses = await ethereum.request({ method: 'eth_requestAccounts' })
const address = addresses[0]
const profile = await idx.get('basicProfile', `${address}@eip155:1`)
Default arguments to readOnlyClient:
endpoint: string = "https://ceramic-clay.3boxlabs.com",
ceramicClient: CeramicClient = null,

Check out the example project.
FAQs
Authentication provider with Ceramic and IDX
The npm package @dabit3/decentralized-identity receives a total of 0 weekly downloads. As such, @dabit3/decentralized-identity popularity was classified as not popular.
We found that @dabit3/decentralized-identity 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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.