> For the complete documentation index, see [llms.txt](https://docs.fiducia.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiducia.network/fcn-fiducia-computation-network.md).

# FCN - Fiducia Computation Network

Fiducia Computation Network (FCN) provides the data sources for the Fiducia Interoperable Data blockchain. Data in the Fiducia Network ecosystem may be provided by data sources, APIs, or cloud computation processes.&#x20;

The goal of this design is to separate data source execution processes from processes related to the FID blockchain validator node itself.&#x20;

The FCN subsystem allows execution of long-running and possibly non- deterministic tasks (e.g. web requests, encryption/decryption and signing of data, random number generation, CPU-intensive computations, enumeration/aggregation of on-chain data, etc.) that could otherwise require longer than the block execution time.

FCN has its own Wasm execution environment outside of the FID runtime. This separation of concerns is to make sure that the block production is not impacted by the long-running tasks. However, FCN can easily access on-chain state for their computations.

This separation of execution will be beneficial in cases where the data sources are not working correctly ( infinite loop, bad code execution, for example). In those cases, such separation can prevent validator nodes from overloading or crashing due to the error. Also, from a FID validator perspective, all they have to do to execute a data source is to send an executable file content in JSON format (the data source script), along with the relevant calldata, to an endpoint, thus minimizing the work they have to do themselves.

#### Serverless Functions and Grid Computing Nodes

Simpler tasks in FCN can be performed by serverless functions in the cloud. The serverless functions can be deployed by the developers according to the FCN specifications. FCN can be extended to work with Grid Computing Nodes to form complex computation tasks and even run existing full-fledged applications. In those more complex computation tasks, the interchange is the result data from the Grid Computing Nodes back to the FID blockchain.&#x20;

FCN return data verification is separate from the FID block transaction verification process. The developers have a choice of data verification mechanisms for the return data from the FCN. Developers may choose voting, averaging, sender signature verification, trusting the source, and other custom data verification mechanism for its own deployment.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fiducia.network/fcn-fiducia-computation-network.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
