From 11fac0cf06dbd809f7604e7bfcbdc040e8ef7082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Danjou?= Date: Thu, 28 Nov 2024 10:41:13 +0100 Subject: [PATCH] Update documentation for ACL Address --- docs/references/fhevmjs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/references/fhevmjs.md b/docs/references/fhevmjs.md index e3b4c49e..467c5efb 100644 --- a/docs/references/fhevmjs.md +++ b/docs/references/fhevmjs.md @@ -12,6 +12,7 @@ import { initFhevm, createInstance } from "fhevmjs"; initFhevm().then(() => { const instance = await createInstance({ + aclAddress: '0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92', chainId: 8009, networkUrl: "https://devnet.zama.ai/", gatewayUrl: "https://gateway.zama.ai/", @@ -34,6 +35,7 @@ This function returns an instance of fhevmjs, which accepts an object containing import { createInstance } from "fhevmjs"; const instance = await createInstance({ + aclAddress: '0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92', networkUrl: "https://devnet.zama.ai/", gatewayUrl: "https://gateway.zama.ai/", }); @@ -45,6 +47,7 @@ Using `window.ethereum` object: import { createInstance } from "fhevmjs"; const instance = await createInstance({ + aclAddress: '0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92', network: window.ethereum, gatewayUrl: "https://gateway.zama.ai/", });