# Architecture

TensorNode utilizes Ethereum's smart contract functionality to facilitate the decentralized marketplace. The architecture comprises three main components:

a. **Smart Contracts:** - Resource Listing Contract: Enables users to list their computing resources for sale, specifying details such as type (CPU, GPU, storage), availability, and pricing. - Resource Purchase Contract: Facilitates the secure and transparent exchange of resources between buyers and sellers, ensuring fairness and trust.

b. **Decentralized Storage:** - Utilizes IPFS (InterPlanetary File System) to store resource-related information, ensuring scalability, and resilience.

c. **Oracle Integration:** - Integrates with decentralized oracles to obtain real-time data about resource availability, pricing, and other relevant parameters.
