Domain Rating
by Ahrefs
Domain Rating by Ahrefs42
Description
Web4 is a framework for hosting entire web apps on the NEAR blockchain. Instead of a conventional server, you deploy a single WebAssembly smart contract that serves your HTTP responses, static resources and blockchain logic. Every NEAR account gets a subdomain, so an account named thewiki.near is served at thewiki.near.page, and larger files can be hosted with IPFS and Filecoin. An HTTP gateway lets the contract handle GET requests, and each smart contract also gets an API endpoint. Authentication works through login and logout endpoints, and the current account ID is available in a cookie. The project documents example contracts in AssemblyScript, Rust support, a web4-deploy command-line tool for deploying a site with a single command, and a list of known web4 sites. It is aimed at developers who want decentralized, permanent websites that are controlled by the user, and it is open source on GitHub.…
Highlights
- Hosts a web app inside one smart contract
- Subdomain for every NEAR account
- Large files via IPFS and Filecoin
- Login and logout endpoints
- Deploy with the web4-deploy tool
Ratings & Reviews
No ratings yet
Be the first to rate Web4.
People also visit
Web4 FAQ
What is web4?
It is a framework for hosting web apps on the NEAR blockchain, using a single WebAssembly smart contract as the server.
How do I deploy a site?
Create a folder with an index.html and run npx web4-deploy with your account ID. The site is then live at a near.page subdomain.
Where are large files stored?
The site says large files can be hosted with IPFS and Filecoin.
Is it open source?
Yes. The project and its tools are on GitHub.
What are the best Web4 alternatives?
Popular alternatives to Web4 include Alphabiz, DePay and Sequence. See all Web4 alternatives





