In this section, you will find documentation about the EBSI Command Line Interface you can use to interact with the upcoming APIs of EBSI.
For optimal stability, we highly recommend to use the Node.js version 20.12.
To start the tool run:
npx @cef-ebsi/cli
When the CLI prompts ==>
change the version to upcoming:
==> version upcoming
It will be ready to receive commands. There is no need to install the package. It needs NodeJS v18 or superior version as a prerequisite.
If you use hardware wallets to sign credentials, it's necessary to download the CLI from the repository and follow the instructions to connect your hardware wallet.
Onboard
This guide presents the steps to onboard a new legal entity in EBSI, which consists in the registration of the DID Document in the DID Registry.
Register a Trusted Issuer
Load the Legal Entity
Register a Proxy
This guide presents the steps to register a proxy of a Trusted Issuer. This proxy is used for the credential status retrieval through EBSI network. And as prerequisite the issuer must have an API to get the Verifiable Credential with StatusList2021. See an example of the verifiable credential.
Issue VC to Onboard
The verifiable authorisation to onboard is a verifiable credential that can be issued only by a Trusted Issuer registered in EBSI, and it allows the subject to register a DID Document in the DID Registry.
Issue VC for Trusted Issuer
The hierarchy to issue verifiable credentials is the following:
Create a Timestamp
Timestamp API will help you to timestamp individual data, track document versions, and validate already existing timestamps.
Create a Document
Track and Trace API is used to timestamp documents and write events on top of it. The timestamp can be taken from the blockchain or can be linked to external sources with its corresponding proof. With this guide you will be able to create a document, grant access to other accounts, and write events.