Skip to content

Commit

Permalink
Update documentation for ACL Address
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu authored Nov 28, 2024
1 parent 2422bba commit 11fac0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/references/fhevmjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand All @@ -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/",
});
Expand All @@ -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/",
});
Expand Down

0 comments on commit 11fac0c

Please sign in to comment.