No Hosting: How ChainRender Actually Works
A ChainRender app has no host. There is no web server, no S3 bucket, no IPFS pin, no CDN — nothing that anyone has to keep running for your app to exist and work. This page explains how that's possible and why it's different from every other approach.
Where a normal app lives vs. where a ChainRender app lives
A normal web app is files (index.html, JS, CSS) sitting on a server. Someone pays for that server, controls it,
and can change or remove the files. Even a "decentralized" dApp usually works this way — the contract is on-chain,
but the frontend is hosted.
A ChainRender app is bytes stored on-chain (via SSTORE2) and rendered by an on-chain view function. To
display it, you call renderHash(hash) — a free eth_call that returns the HTML. There is no file on a server
anywhere in this picture. The app exists as long as the chain does, hosted by no one.
normal app: browser → your server → index.html (server can change/remove it)
ChainRender app: browser → any RPC → renderHash(hash) → HTML (on-chain, immutable, hosted by no one)
Why not just use IPFS?
IPFS is a real improvement over a centralized server — it content-addresses files, so a CID always refers to the same bytes. But IPFS solves a different, smaller part of the problem, and it has gaps ChainRender doesn't:
| IPFS-hosted frontend | ChainRender | |
|---|---|---|
| What's addressed | The frontend files (a CID) | The app itself (a hash), rendered on-chain |
| Availability | Depends on someone pinning the files | Guaranteed by the chain — nothing to pin |
| Discovery | Off-chain (you need the CID from somewhere) | On-chain (resolve a name → the app) |
| Live data | The files are static; data still needs a separate call | Data is read on-chain at render time |
| Rendering | Your browser runs the fetched JS (trust the code) | The chain renders it (analyzable, graded, safe by construction) |
| Verifiable trust | The CID matches the files — but the files can do anything | Graded A/B/C, enforced, actions declared |
The short version: IPFS makes the files immutable; ChainRender makes the app immutable, available, discoverable, data-live, and provably safe — with nothing to host and nothing to pin. IPFS still needs someone to keep the content pinned or it disappears; a ChainRender app can't disappear as long as the chain is alive.
What "no hosting" buys you
- Permanence. Your app outlives you, your company, your servers. No renewal, no re-pinning, no bit-rot.
- Censorship-resistance. There's no host to pressure, no domain to seize, no files to take down.
- Zero ops. No deploy pipeline, no hosting bill, no uptime to maintain. Register once; it renders forever.
- Verifiability. Anyone reproduces the exact app from the chain — trust becomes verification.
The one honest caveat
You still read through something — an RPC endpoint — and that endpoint matters twice:
- Integrity. The app's bytes are on-chain and nobody can change them, and every honest node computes the same
renderHashoutput from them. But the answer to aneth_callis whatever the endpoint sends back; a dishonest endpoint can return a render that never came from the chain. The standard viewer guards against one lying endpoint by asking two of the chain's public endpoints for every read: when they disagree it refuses both answers, and when only one answers it shows the read labeled as not cross-checked. That catches a single bad provider, not two that share a backend or collude. Stronger options are a node you run yourself, or a light client that checkseth_callagainst state proofs, where one supports the chain. - Privacy. Every endpoint you ask sees which app you loaded; if you opt in to showing your wallet's data in an app, it also sees your address (Privacy).
When you set your own RPC in the viewer, it reads through that endpoint alone and says so: you chose it, so it is
not cross-checked against public endpoints (which would also show them your requests). Your own endpoint is then
the whole trust base for integrity, so choose one you trust for that, not only for privacy. A ?rpc= in a link is the
link author's choice, not yours: it is asked first, but another endpoint must agree.
This is the only "infrastructure" left, and it's swappable and optional — not a host of your app.