Navik

Vercel-style deployments for fully onchain immutable websites, controlled by ENSv2

Navik

Created At

ETHGlobal Mumbai

Winner of

Ethereum Foundation

Ethereum Foundation - Best Use of Anon-RPC 3rd place

ENS

ENS - Best Use of ENSv2 2nd place

Project Description

Navik deploys websites to Ethereum the way Vercel deploys them to the cloud. navik deploy stores a site in contract bytecode as an immutable ERC-8244 release and gives it a permanent immutable ENS name, like 3.example.navik.eth. Production is example.navik.eth and can be updated to point at any deployment, so promoting or rolling back is one ENS write. Preview is preview.example.navik.eth and always points to the latest deplyoment.

Who may deploy is an ENSv2 permission: a project owner can grant a CI key "publish" but not "promote", scoped to that project and revocable at any time. Nobody, including us, can change or remove a published release.

Reads are private by default. The dashboard, itself hosted on Navik though the same mechanism at navik.eth, sends every chain read through anon-rpc over the Nym mixnet, so the RPC provider never sees who is looking at what. The wallet only signs.

Every site opens in any browser through eth.limo, with no server of ours, and our fork of Freedom Browser opens them natively with no gateway at all: type navik.eth and the browser resolves ENS and reads the site straight from Ethereum.

Anyone can rebuild a site and compare it byte for byte with what its served deployment. Build provenance and reproduction attestations live on Arkiv, and source archives on Swarm. navik.eth itself ships this way: its dashboard's source is on Swarm, and rebuilding from there matches mainnet exactly.

How it's Made

Contracts (Solidity, Foundry). A factory stores content-addressed chunks of up to 24,575 bytes as contract bytecode, so identical chunks are shared across all projects. It deploys each release at a CREATE3 address known before upload. Each project gets its own Permissioned Resolver and release registry. Release names have no expiry and no roles.

CLI and dashboard (TypeScript, viem, Preact, Vite). The CLI builds a Vite app, packs dist/ into one document and smoke-tests it in a sandboxed Chromium before spending gas. A GitHub Action previews every merge, reproduces the build on a fresh runner, and promotes after approval.

Freedom Browser fork (Electron). We added native support for contract websites, on t. Bare ENS names and web3:// URLs resolve ERC-6821 contentcontract records and open ERC-8244 sites through the browser's verified chain-data router, and ERC-4804 and ERC-6860 contract calls work too. Sites stay in the browser's sandbox with no network access, and an opt-in, per-document permission lets an app like our dashboard run anon-rpc there.

Partner tech.

  • ENSv2 provides the namespace, per-project registries, release names, least-privilege deploy keys and custom domains through aliasing.
  • anon-rpc carries all dashboard reads, with worker hashes pinned at build time, so no un-anonymized bootstrap read is ever made. If the network is down, reads fail closed.
  • Arkiv stores signed, queryable provenance and attestations with no server. A record is trusted only if its creator matches the publisher logged onchain. navik.eth's mainnet release has both on Rabdi.
  • Swarm holds the git archive of a release's source. navik reproduce navik.eth fetches it, checks its hash and commit, and rebuilds the dashboard exactly.

Notably hacky.

  • Compressed sites are a small loader page holding base64 gzip, which decompresses itself with DecompressionStream and replays the page's scripts in order.
  • Fonts and images get chunks of their own, so changing one word in an app costs 3.5M gas instead of 90M.
  • eth.limo serves sites through ERC-8121 contenthash hooks: a contract function returns the whole page as a data: URL.
  • anon-rpc has no usable Node harness, so navik --anon runs the browser harness in headless Chromium and bridges viem's transport to it, with keys staying in Node.
  • Nym's worker drops Content-Type, which Arkiv's node requires, so Arkiv reads take a separate route over Nox.
  • Our Swarm node is Freedom's antd running standalone, which buys postage in plain xDAI, so we never had to acquire xBZZ.
background image mobile

Join the mailing list

Get the latest news and updates