fix readmes
This commit is contained in:
parent
8eb0b70f0a
commit
5b0042fbf9
|
@ -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
|
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
|
# Use as a library
|
||||||
In the tests you can find examples of use. Now I will explain the usual cases
|
In the tests you can find examples of use. Now I will explain the usual cases
|
||||||
|
|
||||||
|
|
|
@ -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
|
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
|
```sh
|
||||||
python verify_vp.py presentation_signed.json
|
python verify_vp.py presentation_signed.json
|
||||||
```
|
```
|
||||||
|
|
||||||
## creación del documento did:
|
## 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 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
|
```sh
|
||||||
python did.py -k keypair.json -g did:web:localhost:did-registry:z6MkiNc8xqJLcG7QR1wzD9HPs5oPQEaWNcVf92QsbppNiB7C
|
python did.py -k keypair.json -g did:web:localhost:did-registry:z6MkiNc8xqJLcG7QR1wzD9HPs5oPQEaWNcVf92QsbppNiB7C
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue