Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
did-veres-one
Advanced tools
This library provides support classes for creating and processing Decentralized Identifiers for Veres One. This library enables a developer to:
npm install did-veres-one
const didv1 = require('did-veres-one');
const options = {};
// generate the DID document
const didDocument = await didv1.generate();
For documentation on configuration, see config.js.
The API documentation provided below is for the Promises-based API. The callback API works the same way where the callback provides the value for the resolved Promise.
Generate a new DID document.
null
if the private keys should not be encrypted.Returns an object with:
Attach a Linked Data Object Capability Grant proof to a DID Document that is
also a Linked Data Capability (Veres One DID Documents implicitly are). A
capability only requires a grant proof if its invocationTarget
is not
self-referencing. The grant proof must be signed by a key referenced via
the invocationTarget
's grantCapability
relation.
Returns an operation object with an attached ld-ocap grant proof.
Wrap a DID Document in a Web Ledger Operation. Once it is wrapped, it can have Linked Data Capability invocation proofs attached to it and it can then be submitted to Veres One to be stored on the ledger.
CreateWebLedgerRecord
to be used (default: 'create').Returns an operation object ready to have proofs attached to it prior to submission to a Veres One Accelerator or the Veres One ledger.
Attach a Linked Data Object Capability Invocation proof to an operation. Once the operation is submitted to Veres One, the ledger nodes will be able to use the invocation proof to authorize the operation.
Returns an operation object with an attached ld-ocap invocation proof, ready to be submitted to the Veres One ledger.
Attach an Equihash proof of work to an operation. Once the operation is submitted to Veres One, the ledger nodes will be able to use the proof to authorize the operation.
Returns an operation object with an attached Equihash proof of work, ready to be submitted to the Veres One ledger.
1.0.0 - 2018-09-19
service
and serviceEndpoint
terms.FAQs
A Decentralized Identifier utility library for Veres One
The npm package did-veres-one receives a total of 184 weekly downloads. As such, did-veres-one popularity was classified as not popular.
We found that did-veres-one demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.