Skip to content

Commit

Permalink
docs: correct link for GatewayContract.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama committed Dec 2, 2024
1 parent 8feb45d commit 0cc0d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fundamentals/first_step/decrypt_details.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This document provides a detailed guide on implementing decryption in your smart

## `GatewayContract` set up

The [`GatewayContract`](../../../gateway/GatewayContract.sol) is pre-deployed on the fhEVM testnet. It uses a default relayer account specified in the `PRIVATE_KEY_GATEWAY_RELAYER` or `ADDRESS_GATEWAY_RELAYER` environment variable in the `.env` file.
The [`GatewayContract`](https://github.com/zama-ai/fhevm-backend/blob/ca7e8490cbc419cd2a1a64ebf3ae1d8fe9b79dd0/contracts/gateway/GatewayContract.sol) is pre-deployed on the fhEVM testnet. It uses a default relayer account specified in the `PRIVATE_KEY_GATEWAY_RELAYER` or `ADDRESS_GATEWAY_RELAYER` environment variable in the `.env` file.

Relayers are the only accounts authorized to fulfill decryption requests. The role of the `GatewayContract`, however, is to independently verify the KMS signature during execution. This ensures that the relayers cannot manipulate or send fraudulent decryption results, even if compromised.
However, the relayers are still trusted to forward decryption requests on time.
Expand Down

0 comments on commit 0cc0d2b

Please sign in to comment.