Issuing Documents
After wrapping the documents and obtaining a merkle root, the documents are ready to be issued on the document store smart contract. To issue a batch of documents, we will use the merkle root that will be appended to the list of issued documents on the document store. This issuance only needs to be done once for all documents in a batch.
Issuing the documents
In the example above:
address
is the document store address, for instance the one created with the Deploying Document Store guide.hash
is the merkle root hash, for instance generated while Wrapping Documents
You will be prompted for the password that you used while creating the wallet. You will see a message after completion of the command:
Verifying the documents
Head to dev.opencerts.io
or dev.tradetrust.io
and drag and drop one of the wrapped documents. The document will be verified, then displayed.
๐ Congratulations, you have completed the getting started guide to create your own Verifiable Document!