---
name: 🐛 fhevmjs Bug report
about: Use this template to report issues encountered while using the fhevmjs library for interacting with fhEVM smart contracts.
title: ""
labels: bug, fhevmjs
assignees: ""
---

### **Description**

Provide a clear and detailed description of the issue encountered.

### **Expected Behavior**

A clear and concise description of the expected behavior (e.g., successful encryption of parameters, correct reencryption result, accurate balance retrieval).

### **Screenshots / Logs**

If applicable, provide screenshots or logs that capture the issue. Include any console errors, warnings, or unexpected outputs.

### **Environment Information**

Fill in the relevant environment details where the issue was observed:

- **Browser**: [e.g., Chrome v90, Firefox v88]
- **Node.js Version**: [e.g., `v14.17.0`]
- **`fhEVMjs` Version**: [e.g., `v0.2.1`]
- **Package Manager**: [npm, yarn, pnpm]
- **Network Configuration**:
  - **Chain ID**: [e.g., `9000`]
  - **RPC URL**: [e.g., `https://devnet.zama.ai`]
  - **Gateway URL**: [e.g., `https://gateway.devnet.zama.ai`]

### **Steps Taken to Debug**

Outline any steps you’ve taken to troubleshoot the issue (e.g., using mocked mode, enabling verbose logging, testing with a different environment or network).

### **Resources / References**

If applicable, include links to any related documentation or reference materials that may help us understand the context:

<details><summary>Logs or output</summary>
<p>

```console

```

</p>
</details>

---

By including these details, we can ensure a faster and more accurate resolution for your issue. Thank you for helping improve `fhevmjs`!
