From 2be0ee1e1a39c0e112c1805434d127aefcbe26a8 Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 18 Jan 2025 21:03:33 +0100 Subject: [PATCH 1/4] Update Fhenix-T-FHE.md --- docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md b/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md index 1de1a98d..ee7e2a64 100644 --- a/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md +++ b/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md @@ -18,7 +18,7 @@ To read more about different FHE schemes, see our [FHE Overview Section](./FHE-O ## Fhenix Nitrogen Testnet -The current Fhenix Nitrogen Testnet is the second public iteration of the Fhenix protocol. It is still an early build, and it can potentialy has bugs (unfortunately) and there are still features that are still under development. +The current Fhenix Nitrogen Testnet is the second public iteration of the Fhenix protocol. It is still an early build, and it can potentially have bugs (unfortunately) and there are still features that are still under development. There are still challenges ahead. However, we are excited to be working on this project, because it is potentially an innovative and disruptive technology in the blockchain space. From 4bcb5a2075f21805057878ee5dcedb17968b1b57 Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 18 Jan 2025 21:06:27 +0100 Subject: [PATCH 2/4] Update Integration.md --- docs/devdocs/Fhenix Testnet/Integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devdocs/Fhenix Testnet/Integration.md b/docs/devdocs/Fhenix Testnet/Integration.md index 0fc27c2d..65afed54 100644 --- a/docs/devdocs/Fhenix Testnet/Integration.md +++ b/docs/devdocs/Fhenix Testnet/Integration.md @@ -50,7 +50,7 @@ If you require specialized endpoints, or higher rate limits than the default ple ## Cross Chain Messaging Contracts -The following contracts are deployed on Ethereum Sepolia and may be used by developers that wish to interact with Fhenix in a similar way to Arbitrum +The following contracts are deployed on Ethereum Sepolia and may be used by developers who wish to interact with Fhenix in a similar way to Arbitrum From 81ef0037a6246c54e6694773eef0d85fbd6b8615 Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 18 Jan 2025 21:07:31 +0100 Subject: [PATCH 3/4] Update Decryption.md --- docs/devdocs/FhenixJS/Decryption.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devdocs/FhenixJS/Decryption.md b/docs/devdocs/FhenixJS/Decryption.md index b18e8932..34551aee 100644 --- a/docs/devdocs/FhenixJS/Decryption.md +++ b/docs/devdocs/FhenixJS/Decryption.md @@ -4,7 +4,7 @@ title: (Un)Sealing --- -When an app wants to read some piece of encrypted data from a Fhenix smart contract, that data must be converted from its encrypted form on chain to an encryption that the app or user can read. +When an app wants to read some piece of encrypted data from a Fhenix smart contract, that data must be converted from its encrypted form on chain to encryption that the app or user can read. The process of taking an FHE-encrypted ciphertext and converting it to standard encryption is called **sealing.** From 6b007cf10c987c0dfb268080690921bc2bb82d9e Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 18 Jan 2025 21:08:28 +0100 Subject: [PATCH 4/4] Update Fhenix-JS.mdx --- docs/devdocs/FhenixJS/Fhenix-JS.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/devdocs/FhenixJS/Fhenix-JS.mdx b/docs/devdocs/FhenixJS/Fhenix-JS.mdx index 7b36d714..ddb96244 100644 --- a/docs/devdocs/FhenixJS/Fhenix-JS.mdx +++ b/docs/devdocs/FhenixJS/Fhenix-JS.mdx @@ -69,7 +69,7 @@ const client = new FhenixClient({ provider }); This step secures the data before sending it to the smart contract. Remember--all data sent to a smart contract on a blockchain is inherently public, which means that anyone can see it. However, Fhenix operates differently. To maintain user confidentiality and protect sensitive input data, Fhenix utilizes **fhenix.js** to provide built-in encryption methods that must be applied before sending any data to an FHE-enabled contract (Learn more [here](https://docs.fhenix.zone/docs/devdocs/FhenixJS/Encryption). -For example, if you want to send a value of “5” to a smart contract, you need to encrypt it before passing it along. Here’s sample code for that process: +For example, if you want to send a value of “5” to a smart contract, you need to encrypt it before passing it along. Here’s a sample code for that process: ```javascript const value = 5; @@ -135,7 +135,7 @@ After encryption, the data can be securely processed by the contract and sealed When the contract returns the encrypted data to the user, it remains sealed. This means the data is still encrypted with the user’s **public key** and cannot be read until the corresponding **private key** is used to unlock it. **Fhenix.js** provides a simple method to handle this. -Here’s example code to show how the unsealing process works: +Here’s an example code to show how the unsealing process works: ```javascript const counterAddress = 0x....; @@ -215,7 +215,7 @@ TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".wasm" for .../n ``` -You need to run your node application with experimental-modules flag : +You need to run your node application with the experimental-modules flag : ```javascript node --experimental-modules --experimental-wasm-modules your_file_here.js