# Overview

The Mind Lake SDK utilizes Mind Lake's encryption storage and privacy computing capabilities to provide secure data management.&#x20;

* Mind Lake is the backbone of [Mind Network](https://mind-network.gitbook.io/mindnetwork/mindnetwork-overview/readme).&#x20;
* All data is end-to-end encrypted at the client-side SDK side, ensuring that plaintext data never leaves the user's client.&#x20;
* Cryptographic principles ensure that only the data owner can access their own plaintext data.&#x20;
* Additionally, Mind Lake's powerful privacy computing capabilities enable the performance of calculations and querying of encrypted data.

## Design Principle

* Data encryption and decryption occur on the user's side. The SDK executes encryption and decryption algorithms locally, e.g. in the user's browser or local trusted computer.&#x20;
* The SDK sends ciphertext into Mind Lake. Mind Lake stores ciphertext. The SDK queries over ciphertext in Mind Lake.
* Ciphertext can be shared and the user can query others' cipher once permission is granted. &#x20;
* With the SDK, the developer can only touch ciphertext and have no way to touch the user's plaintext (unless the user shares it with the developers) in the dapp.

## Supported Programming Language

The SDK offers the same functions in TypeScript and Python programming languages for different types of developers and use cases such as dapp development and data science.

* TypeScript: primarily intended for Dapp development
* Python: primarily intended for data science

Any difference between TypeScript and Python implementation?

* TypeScript connects to MetaMask in the user's browser for authorized operations. It is ideal for Dapp and has higher security.&#x20;
* Python can not connect to MetaMask in the user's browser. Instead, users need to copy their MetaMask's private key to the user's local computer. Python SDK will then load MetaMask's private key into the eth account locally for authorized operations. MetaMask's private key will never leave the user's local environment. This is ideal for data science and for self-use purposes.

## Supported Chains, Wallets and Emails

Mind Lake's account keys are permanently stored using public blockchains with encryption.&#x20;

* To ensure that only the wallet owner can decrypt the cipher and access their keys, all keys are encrypted using the public key of the wallet and can only be decrypted using the wallet's private key.
* **Attention**: The user's wallet is the only way to access Mind Lake. Losing wallet access will disable access permanently.
* Mainnet and Testnet are completely separate environments. Testnet is only for testing and development purposes.

The following chains、wallets and emails are currently supported. More chains、wallets and emails will be added by following the roadmap and community requests.

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th></th></tr></thead><tbody><tr><td align="center"><strong>Chains (TypeScript)</strong></td><td><ul><li>Goerli Testnet (EVM)</li><li>BNB Smart Chain Testnet (EVM)</li><li>BNB Smart Chain Mainnet (EVM)</li><li>opBNB Testnet (EVM)</li><li>opBNB Mainnet (EVM)</li><li>Polygon Mainnet (EVM)</li><li>Mumbai (EVM)</li></ul></td></tr><tr><td align="center"><strong>Chains (Python)</strong></td><td><ul><li>Goerli Testnet (EVM)</li></ul></td></tr><tr><td align="center"><strong>Wallets</strong></td><td><ul><li>MetaMask</li></ul></td></tr><tr><td align="center"><strong>Emails</strong></td><td><ul><li>Clerk</li></ul></td></tr></tbody></table>

## Releases

<table><thead><tr><th width="106.33333333333331">Version</th><th width="135">Release Date</th><th>Description</th></tr></thead><tbody><tr><td>v1.0.0</td><td>Jun 2, 2023</td><td>Initial release. Support Goerli Chain</td></tr><tr><td>v1.0.7</td><td>Aug 29, 2023</td><td>Add support for Mind DataPack</td></tr><tr><td>v1.0.8</td><td>Sep 1, 2023</td><td>Add support for multiple chains</td></tr><tr><td>v1.0.13</td><td>Sep 18, 2023</td><td>Support clerk</td></tr><tr><td>v1.0.16</td><td>Nov 6, 2023</td><td>Support BSC Chain</td></tr><tr><td>v1.0.19</td><td>Nov 8, 2023</td><td>Support deterministic key generation</td></tr></tbody></table>

## Support

* You can reach out to us through various ways: <https://linktr.ee/mindnetwork_xyz>


---

# 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://docs.mindnetwork.xyz/mind-lake-sdk/readme.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.
