From 5b0042fbf97e49b38046903ec45063297f894be9 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 30 May 2024 11:18:22 +0200 Subject: [PATCH] fix readmes --- README.md | 7 +++++++ README_es.md | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cb25ff9..3f02bcd 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,13 @@ An example of a credential is generated, which is the one that appears in the cr python verify_vp.py presentation_signed.json ``` +## creation of did document: +This command will create a json document and a url path where to place this document. The did must be a web did. +This document is an example and in production it must be adapted to contain the revoked verifiable credentials. +```sh + python did.py -k keypair.json -g did:web:localhost:did-registry:z6MkiNc8xqJLcG7QR1wzD9HPs5oPQEaWNcVf92QsbppNiB7C +``` + # Use as a library In the tests you can find examples of use. Now I will explain the usual cases diff --git a/README_es.md b/README_es.md index fb3ba23..4a0653f 100644 --- a/README_es.md +++ b/README_es.md @@ -56,13 +56,14 @@ Se genera un ejemplo de credencial que es el que aparece en la plantilla credent python sign_vp.py -k keypair.json -c credential_signed.json > presentation_signed.json ``` -## verificat una presentación verificable: +## verificar una presentación verificable: ```sh python verify_vp.py presentation_signed.json ``` ## creación del documento did: Este comando creara un documento json y una ruta url donde colocar este documento. El did tiene que ser un did web. +Este documento es un ejemplo y en producción hay que adaptarlo para contener las credenciales verificables revocadas. ```sh python did.py -k keypair.json -g did:web:localhost:did-registry:z6MkiNc8xqJLcG7QR1wzD9HPs5oPQEaWNcVf92QsbppNiB7C ```