# SDK Overview

The eERC SDK enables developers to interact effortlessly with the EncryptedERC (eERC) protocol deployed on the L1. It simplifies various tasks, including the generation of cryptographic proofs, as well as securely encrypting and decrypting balances. The SDK also facilitates the registration of users and manages operations such as minting, burning, and transferring encrypted tokens.

* [Github Repository](https://github.com/ava-labs/eerc-sdk)
* [Npm Package](https://www.npmjs.com/package/@avalabs/eerc-sdk)

By leveraging two core hooks—useEERC and useEncryptedBalance—developers can initialize the SDK, manage encrypted token balances, and perform essential operations such as minting, burning, transferring, and decrypting balances. These hooks simplify integration with the protocol, ensuring an efficient and secure development experience. The following sections explain the useEERC and useEncryptedBalance hooks in detail, including their parameters and return values.

To install run one of the below commands:

```
npm install @avalabs/eerc-sdk
# or
pnpm install @avalabs/eerc-sdk
# or
yarn add @avalabs/eerc-sdk
```

{% hint style="info" %}
To initialize the eERC SDK, ensure that `wagmi` is installed and configured correctly in your application. The official documentation is [here](https://wagmi.sh/react/getting-started).
{% endhint %}

### Example Implementation

To see the eERC SDK in action, check out our example implementation:

* [**GitHub Repository**](https://github.com/BeratOz01/3dent) - Full source code demonstrating SDK integration
* [**Live Demo**](https://www.3dent.xyz/) - Interactive example showcasing encrypted token operations

This example provides a practical reference for implementing the `useEERC` and `useEncryptedBalance` hooks in your own application.


---

# 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://avacloud.gitbook.io/encrypted-erc/usage/sdk-overview.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.
