SU (Scheduler Unit) CU (Compute Unit): This is the scheduling unit, which is responsible for scheduling and message sorting, and uploading messages to Arweave; CU (Compute Unit): This is the computing unit, which receives messages, performs calculations, and realizes state transitions. As mentioned above, the network structure and operation mode of AO show that: AO is a message transmission system. Messages are the core elements of the process and the only working objects of MU, SU and CU. The entire process revolves around messages. A process is the running activity of a message collection, which includes the complete process from receiving messages, message transmission, message scheduling and sorting, performing calculations (message state transitions), and outputting and storing calculation results.
So AO is a message transmission system that can be dedicated to building applications in information publishing, real-time communication and interaction, content distribution, etc., such as decentralized social networks, social media, and decentralized audio and video on-demand/live broadcast platforms.
AO is a modular network in which calculations are performed off-chain and are not constrained by block consensus, allowing computing units (nodes) to be infinitely expanded as needed, thereby greatly improving computing performance.
In the AO environment, any number of computing tasks (parallel processes) can be started at the same time, and these processes can run independently on different computing nodes and complete verification locally. This makes AO a distributed, verifiable super-parallel computer.
Although each computing process can run independently on different nodes, they can communicate and collaborate through a unified information format (ANS-104). This method connects independently running computing processes together to form a unified network.
The core of AO is a message protocol that allows different applications running on Arweave to communicate with each other. Each application can send information to other applications through the AO network, use AO for combinatorial operations, and realize cross-chain information exchange.
The AO network runs off-chain and can be seamlessly connected with Web2 applications. By calling the AO protocol interface, Web2 applications can participate in this decentralized network. This feature enables AO to eliminate the barriers between Web2 and Web3 applications and realize trusted information exchange and interoperability between applications. AO's communication protocol design mechanism makes it an open platform, bringing unlimited possibilities to developers.
In summary, AO's network architecture supports it to become a composable, interoperable, scalable, verifiable, decentralized and open computer network platform. It is not only suitable for social applications with the theme of information publishing and communication interaction, but also can support applications with higher computing performance requirements and more complex business logic, such as machine learning, autonomous decision-making agents, graphics rendering, online games and DeFi applications.
Nostr: Client-Relay Structure
Nostr is the abbreviation of "Notes and Other Stuff Transmitted by Relays", which means "transmitting notes and other content through relays". There are two main components in the network, and its network structure is shown in Figure 1-2.
Figure 1-2 Nostr's network structure
This is an application running on the user side, used to read and write data to the relay server. The client uses the public key as the address for the user to send and receive events, and the private key is used to sign when sending events to prove that it is the user's own operation and prevent tampering. When receiving events, the client uses the private key to verify the signature to confirm the source and integrity of the event.
The client allows users to connect to any number of relay servers distributed in different locations. Users can publish information on one relay and retrieve information on another relay. This means that clients (users) do not have to rely on any specific relay server, thereby effectively protecting user data and behavior.
The relay server has the ability to listen to, capture and store events of clients connected to it, and forward these events to subscribed clients.
Anyone can run a relay server, and multiple relay servers can replace each other. This design weakens the importance of a single relay, reduces the risk of single point failure, and improves anti-censorship capabilities. In addition, competition between multiple relays can promote the improvement of service quality, such as providing larger storage capacity, faster response speed, and spam filtering services.
The relay server can choose to store all or part of the user's content according to its own needs, and decide the length of storage time, which provides greater flexibility for the positioning and business behavior of the relay. At the same time, there is no need for relay servers to communicate with each other, so there is no consensus problem and no need for data synchronization. Data synchronization is achieved by sending and receiving events between clients, which is fundamentally different from blockchain nodes.
Such an architecture can not only improve the flexibility and efficiency of the system, but also effectively respond to different usage scenarios and needs.
It can be seen that Nostr adopts a lightweight network structure such as Client-Relay, which can not only improve the flexibility and efficiency of the system, but also effectively support the construction of a decentralized, censorship-resistant, and verifiable information publishing system to meet people's needs for freedom of speech, smooth communication, and data security and privacy control. This design effectively responds to the challenges and drawbacks brought by centralized social media. Therefore, Nostr is known as a decentralized social protocol and is widely favored by developers for building various decentralized social applications, such as Damus, YakiHonne, Iris, etc.
Integration with other protocols
AO+Arweave: Decentralized World Computer
AO runs on Arweave and achieves seamless integration with Arweave, as shown in Figure 3-1.
Figure 3-1 Seamless integration of AO and Arweave (picture from AO white paper)
This is an implementation of the Storage Consensus Paradigm (SCP). In this innovative paradigm, storage (consensus) and computing are effectively separated, making off-chain computing and on-chain consensus possible. This architecture brings obvious advantages:
Custom computing:Arweave provides AO with permanent storage of all instructions, intermediate states, and calculation results, as AO's data availability layer and consensus layer. The execution of each application (smart contract) is closely related to the data stored in Arweave, and the computing logic and data resources can be customized according to the needs of the application to be executed on the local node. This flexibility far exceeds the traditional EVM model, where all nodes must simultaneously execute predefined operations in pursuit of the consistency of the entire network state.
To summarize, AO adds a super-parallel computing layer to Arweave, while Arweave provides AO with storage-as-consensus support. The combination of the two creates a decentralized world computer, opening up a vast space for application innovation in the decentralized world.
Nostr + Lightning: Building a decentralized information
and valuenetwork
Because Nostr's developer fiatjaf is also the developer of the Lightning Network, Nostr natively supports the Lightning Network. The Lightning Network is a second-layer solution for the Bitcoin blockchain that extends the functionality of the blockchain off-chain by using channels. It effectively solves the problems of slow Bitcoin transaction speed, limited throughput and high transaction costs, making high-frequency and low-cost Bitcoin micropayments possible.
One of the most direct applications of Nostr's combination with Lightning Network is to implement "lightning" in social applications. Nostr's popular client Damus has built-in Bitcoin Lightning Network payment function. Users only need to fill in Nostr's public key to easily call the Lightning Network to pay the one-time fee of Relay. After the payment is completed, the user will receive a Lightning Network invoice. For its detailed workflow, please refer to: https://nostr.how/zh/zaps, where the operation steps are explained in detail.
In terms of asset issuance, Taproot Assets (TAP), an asset issuance protocol on Bitcoin's first layer, is compatible with the Lightning Network. It can introduce Taproot assets and Satoshis, the smallest unit of Bitcoin, into the Nostr ecosystem and use the Lightning Network for instant and affordable asset transfers. This not only enriches Nostr's asset types, but also provides more possibilities for application scenarios such as social networks, payments and DeFi.
In addition, members of the CKB community have proposed the Nostr binding protocol, which uses RGB++ technology to isomorphically bind Nostr Event to CKB CELL. This move allows users to create and distribute native assets in the Nostr social network, effectively solving the native payment problem in social networks.
More importantly, the combination of Nostr and Lightning Network is opening up a new business model for decentralized applications, namely V4V (Value 4 Value).
The concept of V4V believes that monetizing non-scarce information is a very difficult task. The default monetization model in the traditional online world usually relies on advertising, which relies heavily on centralized monitoring and user behavior analysis. V4V provides an alternative that allows the free flow of information and value without restrictions or intermediaries. This approach is not only a new way to monetize bits and bytes online, but also a new way to create content and transfer value.
V4V's solutions are bringing innovative value to social applications, podcasts and live broadcast platforms built on Nostr, such as:
YakiHonne, a decentralized media information exchange protocol, supports the integration of Nostr and the Lightning Network, using SATS as reward payment, with a total payment of more than 90 million SATS throughout the year.
Nostrwatch.live is a decentralized live broadcast platform running on Nostr and the Lightning Network, building a "Value for Value" two-way stream value exchange platform. When the player sends a live media stream to the audience, it also receives a SATs payment stream from the audience. Once the payment stops, the streaming signal stops playing. This is different from the traditional prepaid model, and the audience does not need to subscribe or pay in advance.
Podverse is a Podcasting 2.0 app that integrates with Alby and uses the Lightning Network to send boostagrams (a donation method for sending messages to creators) and sat payment streams to podcasts. When "streaming Satoshis" in Podverse, the app sends Satoshis to the podcast the user is listening to for every minute of listening time.
It can be seen that through the combination of Nostr and Lightning, Nostr has gradually evolved from a decentralized information transmission network to a decentralized transmission network that integrates information and value. This evolution not only protects personal speech from infringement, but also ensures the security of personal assets, making it a carrier and network for value exchange. This evolution opens up new possibilities and development opportunities for innovation in scale and consumer applications, and may become a viable path to achieve large-scale adoption of Web3.
Summary: Structure determines function
In the above, we mainly compared and analyzed the AO and Nostr protocols from the two aspects of data structure and network structure, and based on the principle of "structure determines function", we deeply analyzed the main functions and application scenarios supported by each protocol:
From the perspective of data structure, AO and Nostr protocols have some similarities. They are both information transmission protocols that support information publishing, communication interaction and content distribution of various data types, and can build decentralized social networks and decentralized social media applications. In addition, they both have the functional characteristics of decentralization, anti-censorship, signature verification, and privacy and security protection.
However, they also have significant differences. The positioning and main application scenarios of the Nostr protocol focus on the above-mentioned applications, which are only a small subset of the functions and applications supported by the AO data structure. The focus of the AO protocol is to support hyper-parallel computing, and its application areas are broader and more far-reaching.
From the perspective of network structure, the AO protocol has modular, mutually cooperative and scalable network units, allowing processes to run independently on different nodes and perform local verification. These features provide the basic conditions for realizing hyper-parallel computing.
At the same time, the AO protocol breaks through the impossible triangle limitations of blockchain technology through seamless integration with Arweave based on the SCP paradigm. It can infinitely expand storage resources and computing resources according to demand, and use the consensus data with ownership protection permanently stored by Arweave to exchange information and collaborate between any processes (applications). Therefore, the AO protocol can build a high-performance, ultra-parallel computing network for the world, bringing innovation space to Web3 and even Web2 applications.
For example, it supports machine learning applications that require large language models (LLMs) and high-density computing; supports AgentFi that can meet complex business logic, predefined requirements and diversified autonomous strategies; supports copyright management and creator markets (ContentFi) that emphasize data ownership and content monetization; and supports decentralized applications that require data consensus, cross-chain information communication, cross-chain asset flow, cross-chain data sharing, and cross-chain interoperability of smart contracts.
In contrast, the Nostr protocol is mainly composed of two network components, Cliet-Relay, Event data structure, and public-private key system. It establishes a lightweight information publishing and receiving network. When the Nostr protocol is integrated with Lightning, the entire network combines the characteristics of decentralized information network and decentralized value network, which is more suitable for building a large-scale, consumer-level application network.
From the perspective of protocol positioning, although AO and Nostr are both messaging protocols, their positioning and focus are different. The main focus of the AO protocol is to build infrastructure such as the "decentralized world computer", positioning the lower layer, but it opens up a broad space to support various applications, can capture a wider range of value, and bring the power of continuous upward development.
In contrast, the Nostr protocol was originally designed to support social applications and is positioned as a lightweight decentralized social protocol with more specific and focused application scenarios.
In summary, AO and Nostr have their own characteristics and advantages in data structure, network structure and protocol functions, and have different positioning and applicable scenarios. They will show their respective potential and value on different development paths.