# Storage

There are four storage databases forming within the framework:

1. If we take a look at the dMail and dChat as an example, blockchain is used to store:
   * A link to the dMail JSON metadata, timestamp, checksum & sender address,
   * dChat encrypted message, timestamp & sender address.
2. The concept of decentralized storage is used for the temporary or permanent storage of encrypted communication and data files and JSON files (i.e. dMail, subject & content attachment location).
3. Integrators can also opt for more centralised storage such as cloud storage.
4. User local storage is used for storing:
   * wallet private keys,
   * dMail & dChat content hash, and
   * user-initiated backup of conversations, data files and reports.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.4thtech.io/architecture/storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
