Language
Docs

Documentation

Contributors: Jack Smith (Longview Labs), wujunze
Last Updated:

Gateways


Data uploaded to the Arweave network (or the permawebopen in new window) isn't always immediately easy to work with.

What is a Gateway?

Gateways are sometimes referred to as the "front door to the permaweb". They act as an interface between Arweave and end-users, making it easy to access data or use permaweb applications from your web browser.

For example, accessing a HTML file stored on Arweave will be displayed as a web page in your browser. The same goes for viewing images, downloading files, viewing JSON data, or any other file stored on Arweave. This makes interacting with the permaweb very similar to using the traditional web.

Other Roles of Gateways

Other than serving data for users to access, gateways offer other services such as:

  • Caching frequently accessed data and transactions
  • Indexing and querying transactions (through Arweave tags and a GraphQl interface)
  • Seeding transactions throughout the Arweave network
  • Content moderation (content policies to choose which data is or isn't served)

Gateways and the Arweave Protocol

Although gateways play a large role in allowing content to be accessed on Arweave, they are not part of the core protocol.

This means hosting and running gateways is separate to running a node securing the Arweave network (although are frequently done together).

As gateways are not part of the core protocol, there is no built-in incentive structure like the rewards or incentives for mining. This allows gateway operators or external services to choose how they want to structure their incentive system, leading to a more decentralized and democratic model. Individual applications could even operate their own gateway to allow for better caching and performance of their permaweb applications.

Some popular gateways include arweave.netopen in new window ran by the Arweave team, and others like arweave.worldopen in new window arweave.asiaopen in new window arweave.liveopen in new window, and g8way.ioopen in new window. However, operating gateways is being made easier and more accessible through teams such as AR.IOopen in new window.

Sources and Further Reading