You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accelerate your smart contract development with AI-powered assistance.
163
163
164
164
### **Development templates**
@@ -264,7 +264,7 @@ There are two ways to contribute to the Zama fhEVM:
264
264
-[Open issues](https://github.com/zama-ai/fhevm/issues/new/choose) to report bugs and typos, or to suggest new ideas
265
265
- Request to become an official contributor by emailing [email protected].
266
266
267
-
Becoming an approved contributor involves signing our Contributor License Agreement (CLA)). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
267
+
Becoming an approved contributor involves signing our Contributor License Agreement (CLA). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
Becoming an approved contributor involves signing our Contributor License Agreement (CLA)). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
8
+
Becoming an approved contributor involves signing our Contributor License Agreement (CLA). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
Copy file name to clipboardexpand all lines: docs/fundamentals/decryption/decrypt.md
+41-42
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ contract TestAsyncDecrypt is SepoliaZamaFHEVMConfig, SepoliaZamaGatewayConfig, G
70
70
71
71
Remember our [**Encrypted Counter**](../../getting_started/first_smart_contract.md) contract from before? Here’s an improved version of it, upgraded to support decryption:
Copy file name to clipboardexpand all lines: docs/guides/contracts.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This guide explains how to use the [fhEVM Contracts standard library](https://gi
4
4
5
5
## Overview
6
6
7
-
The **fhEVM Contracts standard library** streamlines the development of confidential smart contracts by providing templates and utilities for tokens, governance, and error management. These contracts have been rigorously tested by ZAMA's engineers and are designed to accelerate development while enhancing security.
7
+
The **fhEVM Contracts standard library** streamlines the development of confidential smart contracts by providing templates and utilities for tokens, governance, and error management. These contracts have been rigorously tested by Zama's engineers and are designed to accelerate development while enhancing security.
> To utilize the debug functions, import the [utils.ts](https://github.com/zama-ai/fhevm-hardhat-template/blob/main/test/utils.ts) file.
75
+
{% hint style="info" %}
76
+
To utilize the debug functions, import the [utils.ts](https://github.com/zama-ai/fhevm-hardhat-template/blob/main/test/utils.ts) file.
77
+
{% endhint %}
76
78
77
79
For a more complete example, refer to the [ConfidentialERC20 test file](https://github.com/zama-ai/fhevm-hardhat-template/blob/f9505a67db31c988f49b6f4210df47ca3ce97841/test/confidentialERC20/ConfidentialERC20.ts#L181-L205).
78
80
@@ -102,8 +104,9 @@ function verifyType(handle: bigint, expectedType: number) {
102
104
103
105
### Environment checks
104
106
105
-
> [!CAUTION]
106
-
> The functions only work in the `hardhat` network. Attempting to use them in a production environment will result in an error.
107
+
{% hint style="danger" %}
108
+
The functions only work in the `hardhat` network. Attempting to use them in a production environment will result in an error.
Copy file name to clipboardexpand all lines: docs/guides/frontend/webapp.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You can also use [this template](https://github.com/zama-ai/fhevmjs-vue-template
18
18
19
19
You can also use [this template](https://github.com/zama-ai/fhevmjs-next-template) to start an application with fhevmjs, using Next + TypeScript.
20
20
21
-
## Using the mocked coprocessor for front end
21
+
## Using the mocked coprocessor for frontend
22
22
23
23
As an alternative to use the real coprocessor deployed on Sepolia to help you develop your dApp faster and without needing testnet tokens, you can use a mocked fhevm. Currently, we recommend you to use the `ConfidentialERC20` dApp example available on the `mockedFrontend` branch of the [React template](https://github.com/zama-ai/fhevm-react-template/tree/mockedFrontend). Follow the README on this branch, and you will be able to deploy exactly the same dApp both on Sepolia as well as on the mocked coprocessor seamlessly.
Copy file name to clipboardexpand all lines: docs/guides/loop.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ However, this is sometimes not enough. Enhancing the privacy of smart contracts
43
43
44
44
For example, if implementing a simple AMM for two encrypted ERC20 tokens based on a linear constant function, it is recommended to not only hide the amounts being swapped, but also the token which is swapped in a pair.
45
45
46
-
✅ Here is a very simplified example implementations, we suppose here that the the rate between tokenA and tokenB is constant and equals to 1:
46
+
✅ Here is a very simplified example implementations, we suppose here that the rate between tokenA and tokenB is constant and equals to 1:
47
47
48
48
```solidity
49
49
// typically either encryptedAmountAIn or encryptedAmountBIn is an encrypted null value
0 commit comments