# Private Data Services

The process of Company A, as a Data Owner, providing data access capabilities to Service Providers is depicted in the following scenarios, with variations in how Data Access Contracts for the Service Providers are deployed.

In one scenario, Company B deploys its Data Access Contract on the Public NetX Smart Chain:

1. Company B initiates the setup by running a Trias Layer ‘-1’ node within its data centre. This node establishes a connection with the Public Trias Layer ‘-1’ to access metadata for routing services and determine their trustworthiness and properties.
2. Company B's Private Application Services communicate with the Trias Layer ‘-1’ Node to express their intention to interact with Company A's Data Process Contract. This communication initiates handshake protocols with the target contract and sets up Data Interoperation Protocols.
3. Company B deploys a Data Access Contract on the Public NetX Smart Chain to facilitate data access. This Data Access Contract is an intermediary, enabling Company B's applications to communicate with Company A's Data Process Contract.
4. The interoperation between the Data Access Contract and the Data Process Contract is enforced by the cross-chain bridge, which connects Company A's Private NetX Smart Chain with the Public NetX Smart Chain. This bridge ensures secure and reliable data exchange between the two parties.&#x20;
5. The billing for accessing Company A's Data Process Contract is automatically enforced by consuming the gas fee that Company B has pre-stored in Company A's Data Process Contract.

<figure><img src="https://310333798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZudgoMEY8XfycqqiBARC%2Fuploads%2FvJRtujmLK0rIExLFWfqe%2F8.jpg?alt=media&#x26;token=9cfcba4b-6933-4170-8736-e3a466ef1808" alt=""><figcaption></figcaption></figure>

This setup allows for secure and controlled access to Company A's data by Company B, facilitating data exchange and interaction transparently and reliably.&#x20;

In the scenario involving Company C, Company A's Private Smart Chain is made available for deployment by Company C:

1. After the initial handshakes and setup, Company C directly deploys its Data Access Contract onto Company A's Private Smart Chain. This deployment allows direct interaction between the Data Process Contract and the Data Access Contract on the same chain.
2. The direct interaction on a single chain improves performance as data access and processing occur within the same environment.
3. To ensure the integrity of Company A's Private NetX Smart Chain in this scenario, additional examinations are required by Company C's Trias Layer ‘-1’ node. This verification process helps maintain trust and security within the Private Smart Chain.&#x20;

In the case of Company D, it has deployed its own Private NetX Smart Chain:

1. Company D deploys the agreed Data Access Contract on its own Private NetX Smart Chain, establishing a dedicated data access and interaction environment.
2. To facilitate data exchange and interaction with Company A, a cross-chain bridge is established between Company D's Private NetX Smart Chain and Company A's Private NetX Smart Chain.
3. Mutual verification on both sides of the Private NetX Smart Chain requires additional attention to ensure the security and integrity of data and processes.

These scenarios showcase the flexibility and adaptability of the NetX infrastructure, enabling companies to tailor their data access and interaction methods to their unique needs and existing system configurations. This versatility ensures that organisations integrate their data processing requirements seamlessly with the NetX ecosystem. It makes it easier to leverage the benefits of decentralised computing and data services while maintaining compatibility with their established systems and workflows.

In a general configuration depicted below, companies equipped with the full-stack internal NetX infrastructure can seamlessly connect to the Public NetX Smart Chain via cross-chain bridges, which link the Layer 1 ledgers and Trias Layer ‘-1,’ enabling the exchange of trustworthiness metadata. Within this setup, any company's data centre, such as A and A', can simultaneously function as data providers (Data Owners) and data consumers (Service Providers). They can search for specific data or application services with desired properties through the Trias Layer ‘-1’ and establish connections by deploying Data Access Contracts. These contracts can be deployed on Private NetX Smart Chains or Public NetX Smart Chains, creating a basic Small Data Network configuration. This configuration allows efficient data exchange and interaction while maintaining trust and security within the NetX ecosystem.

<figure><img src="https://310333798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZudgoMEY8XfycqqiBARC%2Fuploads%2FLhIatrSr7NxygH8AbKWZ%2F9.jpg?alt=media&#x26;token=db8812f2-4826-43c4-a9b8-0e5e4887a327" alt=""><figcaption></figcaption></figure>
