# ONCHFS

Welcome to the On-Chain for Http File System (ONCHFS) main documentation. ONCHFS is a permissionless unix-like content-addressable file system fully stored on-chain designed to be delivered through the http protocol, with cross-blockchain compatibility in mind.

ONCHFS is inspired by [ethfs](https://github.com/holic/ethfs), [ipfs](https://ipfs.tech/), [bitcoin ordinals recursive inscriptions](https://docs.ordinals.com/inscriptions.html), [Unix filesystem](https://en.wikipedia.org/wiki/Unix_filesystem), and aims at providing a general framework for working with files stored on-chain, following modern standards & practices.

{% embed url="<https://github.com/fxhash/onchfs/tree/main>" %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>What is ONCHFS?</strong></td><td>An overview of ONCHFS</td><td></td><td></td><td><a href="/pages/CyH2xJQs9yWJ1S8BYNav">/pages/CyH2xJQs9yWJ1S8BYNav</a></td></tr><tr><td><strong>Motivations</strong></td><td>Rationale behind our Onchain File Storage</td><td></td><td></td><td><a href="/pages/jDZXj4nlyLbciJW1QE06">/pages/jDZXj4nlyLbciJW1QE06</a></td></tr><tr><td><strong>System Overview</strong></td><td></td><td></td><td></td><td><a href="/pages/yJ36nH1VwLoakorffiZc">/pages/yJ36nH1VwLoakorffiZc</a></td></tr><tr><td><strong>Cross-chain Referencing</strong></td><td></td><td></td><td></td><td><a href="/pages/ajZRdSobVM9Qo4u7hxGl">/pages/ajZRdSobVM9Qo4u7hxGl</a></td></tr><tr><td><strong>Limitations</strong></td><td></td><td></td><td></td><td><a href="/pages/iji9kaHmK18kVqdjYlwD">/pages/iji9kaHmK18kVqdjYlwD</a></td></tr><tr><td><strong>References</strong></td><td></td><td></td><td></td><td><a href="/pages/9fJCfGLdLT54xVkrZa1w">/pages/9fJCfGLdLT54xVkrZa1w</a></td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://docs.fxhash.xyz/onchfs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
