Create and Open DIDStore
DID documents, credentials, private keys, and other contents need to be saved or read. DID Store is a frequently used example in the whole DID system. Before operation, you need to open the DID Store and get the file storage handle, so that the DID content can be saved or read. The DID Store needs to be closed after it's used.
Example
Usage
root is the folder path that needs to be opened. If the folder path does not exist, the SDK will create one automatically.
The SDK will clear the cache and other contents.
Last updated