# Architecture

Sight Oracle consists of two major components:

**On-chain Oracle Contract**

The On-chain Oracle Contract component involves deploying oracles on various heterogeneous blockchain networks, such as Ethereum (ETH), Solana, and TON. These oracles do not handle data feeds but serve as intermediaries that facilitate the delegation of computation tasks to the off-chain network. They ensure that the encrypted data and computation requests are securely transmitted to the off-chain Oracle Service Nodes.

**Off-chain Decentralized Oracle Node Network**

The Off-chain Decentralized Oracle Network is a P2P network composed of multiple Oracle Service Nodes. Each node operates independently, listening to the Oracle Contracts for computation requests. The nodes are responsible for performing the computations on encrypted data using different FHE schemes, such as CKKS and TFHE.

Key components of each Oracle Service Node include:

1. **Indexed Data Storage**: This component is responsible for securely storing the encrypted data. The data storage functions similarly to networks like Arweave or IPFS, shared among all nodes and publicly accessible for auditing purposes.
2. **FHE Compute Engine**: The Fully Homomorphic Encryption Compute Engine allows for computations on encrypted data without decrypting it. This ensures that the data remains private and secure throughout the computation process. The FHE Compute Engine supports multiple FHE schemes, providing flexibility and robustness in handling various types of encrypted data computations.

<figure><img src="https://4239479252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc6n88IVs810uKFVbVyUQ%2Fuploads%2FaZp0CE3Yxmn9g8FQbGIW%2F%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%20(19).png?alt=media&#x26;token=bb21d3ce-c9a8-4a98-a361-34d6fba05bd5" alt=""><figcaption><p>Sight Oracle Architecture</p></figcaption></figure>
