Forget HTTP: Ethereum has a new URL standard that can't be blocked

1 year ago

Web3 URLs — enabled with the motorboat of ERC-4804 — person made it onto Ethereum, allowing net users to entree Ethereum apps and NFTs without worrying astir centralized censorship.

The caller Ethereum standard, titled “Web3 URL to EVM Call Message Translation,” was archetypal projected connected Feb. 14, 2022, and was co-authored by ETHStorage laminitis Qi Zhou, Ethereum researcher Sam Wilson and Chao Pi.

It described the connection arsenic an “HTTP-style” URL to straight entree on-chain Web3 content, specified arsenic decentralized apps (DApps) front-ends and NFTs. More than a twelvemonth later, ERC-4804 was approved and finalized connected the mainnet connected March 1.

1/n, I americium delighted to denote that the archetypal web entree protocol for ETH ERC4804: Web3 URL is approved by EIP editors and finalized!

web3:// (https://t.co/uXpTGdXirF) is decentralized http://. It let users to straight browse the affluent web contented connected EVM, pages/images/songs!

— Qi Zhou (@qc_qizhou) March 1, 2023

Anthurine Xiang, a spokesperson for layer-2 retention protocol ETHStorage, explained that successful galore cases, the ecosystem is inactive reliant connected centralized web servers to supply entree to “decentralized” apps. 

“Right now, each the DApps similar Uniswap [...] assertion to beryllium decentralized apps," Xiang explained, adding: "But however [do] we get connected the webpage? You person to spell done the DNS. You person to spell done GoDaddy. [...] All those are centralized servers.”

Graphic explaining however the caller exemplary compares to Web2. Source: w3eth.io

Today, astir users entree the net via “Hypertext Transfer Protocol,” wide known arsenic HTTP. 

When an net idiosyncratic clicks a nexus oregon types successful a website address, the machine uses HTTP to inquire different machine to retrieve the information, specified arsenic a website oregon pictures.

Under ERC-4804, net users person the enactment to benignant successful web3:// (as opposed to http://) successful their browsers to straight bring up DApps specified arsenic Uniswap oregon on-chain NFTs. This is due to the fact that the modular allows users to straight tally a query to an Ethereum Virtual Machine (EVM).

Flow illustration explaining however Web3 URL modular works with Uniswap. Source: w3eth.io

Entire websites tin besides theoretically beryllium accessed by these means arsenic agelong arsenic their contented is stored connected the Ethereum blockchain oregon a compatible layer-2 protocol. However, the costs of doing this are inactive precise prohibitive, according to ETHStorage laminitis Qi Zhou.

“The captious contented present is that the retention outgo connected Ethereum is super, ace costly connected mainnet,” Zhou said successful a caller presumption astatine ETH Denver.

“For example, 1 Gigabyte of on-chain information volition outgo astir $10 million. [...] That is unacceptable for a batch of Web2 applications and adjacent a batch of NFTs,” Zhou added, noting that layer-2 retention solutions could assistance mitigate immoderate of the costs.

Xiang suggested that fixed the costs, the caller URL modular makes consciousness lone for circumstantial applications. 

“Not everything needs to spell decentralized. If you are moving a beauteous bully Web2 concern and you don’t person to interest excessively overmuch astir centralized censorship. [...] You tin conscionable spell for that.”

On the different hand, the caller modular would beryllium utile for DApps oregon websites that are astatine hazard of censorship, with Tornado Cash arsenic an example.

“For example, for Tornado Cash, a batch of radical can’t get to them done their website due to the fact that there’s censorship,” Xiang explained.

“If you’re a DApp and you’ve already been decentralized, wherefore are you inactive utilizing a centralized website for radical to get entree to you?”

Example of websites that are capable to beryllium accessed via web3:// URL Source: w3eth.io

Asked whether the caller modular could beryllium leveraged by atrocious actors to partake successful illicit activity, Xiang said:

“This is truly hard to accidental conscionable similar however Bitcoin was founded. I deliberation Bitcoin was not calved for evil, but still, successful the beginning, radical [were] doing shady things similar the Silk Road, they had been utilizing Bitcoin.”

Instead, Xiang believes similar Bitcoin, they're conscionable giving radical a decentralized enactment they whitethorn not person otherwise. 

The caller Ethereum modular is the archetypal of its benignant for the blockchain, noted Xiang, though it’s not the archetypal solution to decentralized web hosting. 

Related: How to big a decentralized website

IPFS, oregon the InterPlanetary File System is an illustration of a web that was created to bash what centralized unreality servers presently provide, lone via decentralized means. However, Xiang noted that an IPFS URL tin lone nexus to static content, which can’t beryllium amended oregon changed.

I *use* IPFS to store my blog. It has superior UX issues (took ~1h for my past update to propagate). Sticking the blog on-chain would person been mode easier.

For blogs, that's unluckily excessively expensive, but for abbreviated substance records the logic applies.

— vitalik.eth (@VitalikButerin) May 27, 2022

ERC-4804 however, volition let for “dynamic data,” specified arsenic allowing radical to permission likes and comments and interact with contented connected a website, explained Xiang. Being Ethereum native, the modular is besides expected to beryllium capable to interact with different blockchains overmuch easier, Xiang added.

View source