Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@civic/did-registry
Advanced tools
An on-chain protocol for registering did:sol DIDs against public keys, allowing for reverse-lookup of the DID from the public key.
A DID can be registered against a key, if that key is an authority on the DID.
yarn add @civic/did-registry
import { PublicKey } from "@solana/web3.js";
import { Registry } from '@civic/did-registry';
const provider = anchor.AnchorProvider.env();
const registry = new Registry(provider.wallet, program.provider.connection);
// Register a DID
await registry.register("did:sol:123...");
// Lookup all registered DIDs
const dids: string[] = await registry.listDIDs();
// Remove a DID
await registry.remove("did:sol:123...");
FAQs
An on-chain protocol to provide reverse-lookup on did:sol key membership
The npm package @civic/did-registry receives a total of 39 weekly downloads. As such, @civic/did-registry popularity was classified as not popular.
We found that @civic/did-registry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.