SocialFi Exploration: Solana Actions & Blinks vs Ethereum Farcaster & Lens
Author: YBB Capital Researcher Ac-Core
TL;DR
-
Recently, Solana and Dialect jointly launched a new Solana concept "Actions and Blinks" to realize one-click Swap, voting, donation, Mint and other functions in the form of browser plug-ins.
-
Actions enable efficient execution of various operations and transactions, while Blinks ensures network consensus and consistency through time synchronization and sequential recording. These two concepts work together to enable Solana to achieve high performance and low latency.BlockchainExperience.
-
The development of Blinks requires the support of Web2 applications, and the first issues it brings up are trust, compatibility and cooperation between Web2 and Web3.
-
Actions & Blinks and Farcaster & Lens Protocol are compared. The former relies on Web2 applications to obtain more traffic, while the latter relies more on the chain to obtain moreSafety.
1. How Actions and Blinks work
Image source: Solana docs (Solana Action execution process life cycle)
1.1 Actions (Solana Actions)
Official definition: Solana Actions are APIs that conform to the specification and return Solana Blockchaintransactions on the Internet that can be previewed, signed, and sent in a variety of different contexts, including QR codes, buttons + widgets (user interface elements), and websites on the Internet.
Actions can be simply understood as transactions to be signed. In the Solana network, Actions can be understood as an abstract description of the transaction processing mechanism, covering transaction processing,contractIn terms of applications, users can send transactions through Actions, includingTokenTransfer, purchase of digital assets, etc. Developers also use Actions to call and execute smartcontract, to implement complex on-chain logic.
-
Solana uses the form of "Transaction" to handle these tasks. Each transaction consists of a series of instructions that are executed between specific accounts. Through parallel processing and the use of the Gulf Stream protocol, Solana forwards transactions to validators in advance, thereby reducing the delay in transaction confirmation. Through a fine-grained locking mechanism, Solana is able to process a large number of non-conflicting transactions at the same time, greatly improving the throughput of the system.
-
Solana uses Runtime to execute transactions and intelligencecontractInstructions ensure the correctness of the input, output and status of the transaction during execution. After the initial execution, the transaction will wait for block confirmation. Once the block is agreed by the majority of validators, the transaction will beXiaobai NavigationThe Solana network is capable of processing thousands of transactions per second, with transaction confirmation times as low as 400 milliseconds. Thanks to the Pipeline and Gulf Stream mechanisms, the network's throughput and performance have been further improved.
-
Actions do not just refer to certain tasks or operations, they can be transactions, contract execution, data processing, etc. These actions are similar to otherBlockchainHowever, in Solana, Actions have their own unique advantages: first, efficient processing. Solana has designed an efficient way to process these Actions, so that they can be quickly executed in a large-scale network. Secondly, low latency. Thanks to Solana's high-performance architecture, the processing latency of Actions is very low, allowing Solana to support high-frequency transactions and applications. Finally, flexibility. Actions can be used to perform various complex operations, including the call of smart contracts, the storage and reading of data, etc. (For more information, see the extended link).
1.2 Blinks (Blockchain links)
Official definition: Blinks converts any Solana Action into a shareable, metadata-rich link. Blinks enables clients that support Action (browser extensions)wallet, robots) can display more functions to users. On the website, Blinks can immediatelywalletIn the case of Blink, a bot can trigger a transaction preview in a decentralized application without jumping into a decentralized application; in Discord, a bot can expand Blink into a set of interactive buttons. This enables any web interface that can display a URL to achieve on-chain interaction.
通俗来讲Solana Blinks 将 Solana Action转换为可共享的链接(相当于http),在支持walletPhantom,Backpack,Solflare wallet中的相关功能开启,即可将网站和社交媒体转变为链上交易的场所,允许任何具有 URL 的网站直接启动 Solana 交易。
In summary, although Solana Action and Blink are permissionless protocols/specifications, compared with the solver solving process of intent narrative, they still require client applications and wallets to ultimately help users sign transactions.
The direct purpose of Actions&Blinks is to directly "http-link" Solana's on-chain operations to Web2 application products such as Twitter.
Image source: @eli5_defi
2. Decentralized social protocol based on Ethereum
2.1 Farcaster Protocol
Farcaster是一个基于以太坊和Optimism的去中心化社交图谱协议,它使应用程序能够通过区块链、P2P 网络和分布式账本等去中心化技术相互连接,并与用户建立联系。让用户可以在不同平台间无缝地迁移和共享内容,而不依赖单一的中心化实体,其开放图谱协议(当用户在社交网络的帖子中发布相关链接时,该协议会自动提取链接中的内容,注入可交互的特征)允许用户发布的链接内容自动提取和转化为交互式应用。
Decentralized network: Farcaster relies on a decentralized network, avoiding the single point of failure problem of centralized servers in traditional social networks. It uses distributed ledger technology to ensure dataSafetyand transparency.
Public key encryption: Each user on Farcaster has a pair of public and private keys. The public key is used to identify the user, and the private key is used to sign the user's operations. This method ensures the privacy of user data andSafety.
Data portability: User data is stored in a decentralized storage system rather than a single server. This way, users have full control over their data and can migrate it between different applications.
Verifiable identity: Through public key cryptography, Farcaster ensures that each user's identity is verifiable. Users can prove their control over an account by signing.
Decentralized Identifier (DID): Farcaster uses decentralized identifiers (DID) to identify users and content. DID is an identifier based on public key encryption with highSafetyand immutability.
Data consistency: To ensure data consistency in the network, Farcaster uses a consensus mechanism similar to blockchain (“posts” are nodes). This mechanism ensures that all nodes have a consensus on user data and operations, thereby ensuring data integrity and consistency.
Decentralized Applications: Farcaster provides a development platform that allows developers to build and deploy decentralized applications (DApp). These applications can be seamlessly integrated with the Farcaster network to provide users with a variety of functions and services.
SafetyPrivacy and privacy: Farcaster emphasizes the privacy and security of user data. All data transmission and storage are encrypted, and users can choose to make their content public or private.
In Farcaster's new Frames feature (different Frames are integrated with Farcaster and run independently), "cast" (analogous to "posts", including text, pictures, videos, links, etc.) can be turned into an interactive application. These contents are stored in a decentralized network to ensure their persistence and immutability. When a "post" is published, each of its casts has a unique identifier to make it traceable, and the user's identity is confirmed through a decentralized authentication system. As a decentralized social protocol, the Farcaster protocol can be directly and seamlessly accessed by its clients.
2.2 The main principles include the following three aspects
Image source: Architecture l Farcaster
The Farcaster protocol is divided into three main layers: Identity Layer, Data Layer – Hubs, and Application Layer. Each layer has specific functions and roles.
Identity Layer
-
Function: Responsible for managing and verifying user identities; providing decentralized identity authentication to ensure the uniqueness and security of user identities; specifically composed of four registries: ld Registry, Fname, Key Registry, and Storage Registry (see reference link 1 for details).
-
Technical principle: Using decentralized identifiers (DIDs) based on public key cryptography; each user has a unique DID to identify and verify the user's identity; through public and private key pairs, it ensures that only the user can control and manage their own identity information. The identity layer ensures that users can seamlessly migrate and verify their identities between different applications and services.
Data Layer – Hubs
-
Function: Responsible for storing and managing user-generated data, providing a decentralized data storage system to ensure the security, integrity and accessibility of data.
-
Technical principle: Hubs are decentralized data storage nodes distributed throughout the network; each Hub is an independent storage unit responsible for storing and managing a portion of the data. Data is distributed and stored between Hubs, and encryption technology is used to protect data security. The data layer ensures high availability and scalability of data, and users can access and migrate their data at any time.
Application Layer
-
Function: Provide development and deployment of decentralized applications (DApps) platform, supporting various application scenarios, including social networking, content publishing, messaging, etc.
-
Technical principle: Developers can use the APIs and tools provided by Farcaster to build and deploy decentralized applications; the application layer is seamlessly integrated with the identity layer and data layer to ensure user identity authentication and data management when using the application; decentralized applications run on a decentralized network and do not rely on centralized servers, which improves the reliability and security of the application.
2.3 Summary
The direct purpose of Solana's Actions & Blinks is to open up the traffic channel for Web2 applications. The potential impact is intuitive: From the user's perspective: it simplifies transactions while increasing the amount of funds that can be used.stealRisks, from Solana’s own perspective: it has greatly enhanced the traffic effect of breaking the circle, but there are still risks in application compatibility and support under the Web2 censorship system. Perhaps in the future, with the support of Solana’s huge system, such as Layer2, SVM, mobile operating systems, etc., there will be further development.
Compared with Solana's strategy, Ethereum's Farcaster protocol weakens the traffic introduction of Web2, enhances the overall anti-censorship and security, and is closer to the native concept of Web3 under the Fracster+EVM model.
2.4 Lens Protocol
Image source: Lens Frens
Lens Protocol is also a decentralized social graph protocol that aims to provide users with full control over their social data and content. Through Lens Protocol, users can create, own and manage their own social graphs, and these graphs can be seamlessly migrated between different applications and platforms.Token (NFT) is used to represent the user's social graph and content, ensuring the uniqueness and security of the data. Lens Protocol and Farcaster, both located on Ethereum, also have some similarities and differences:
Same point:
-
User Control: Users have full control over their data and content in both.
-
Identity verification: Use decentralized identity (DID) and encryption technology to ensure the security and uniqueness of user identities.
difference:
-
Technology Architecture:
-
Farcaster: Built on Ethereum (L1), it is divided into the Identity Layer to manage user identities, the Data Layer (Data Layer – Hubs) decentralized storage nodes to manage data, and the Application Layer to provide a DApps development platform and use offline Hubs for data dissemination.
-
Lens Protocol: Based on Polygon (L2), uses NFT to represent users' social graphs and content, and all activities are stored in the user's wallet, emphasizing the ownership and portability of data.
-
-
Validation and Data Management:
-
Farcaster: Use distributed storage nodes (Hubs) for data management to ensure data security and high availability. Handles must be updated every year, and delta graph is used to achieve consensus.
-
Lens Protocol: Personal data NFT ensures data uniqueness and security without the need for updates
-
-
Application Ecosystem:
-
Farcaster: Provides a comprehensive DApps development platform that integrates seamlessly with its identity layer and data layer.
-
Lens Protocol: focuses on the portability of user social graphs and content, supporting seamless switching between different platforms and applications.
-
Through the above comparison, we can see that Farcaster and Lens Protocol have similarities in user control and authentication, but have significant differences in data storage and ecosystem. Farcaster focuses more on hierarchical structure and decentralized storage, while Lens Protocol emphasizes the use of NFT to achieve data portability and ownership.
3. Which of the three can be the first to achieve large-scale application?
Through the above analysis, each of the three has its own advantages and challenges. Solana relies on its high performance and can turn any website or application intocryptocurrencyIt is a gateway for transactions and the first to occupy the social media platform. It quickly gained popularity and traffic advantages by relying on the advantage of Blinks to generate links, but its reliance on Web2 also comes with the problem of exchanging traffic for security.
Lens Protocol was born in 2022 and has the longest history. Relying on the modular design and storage on the entire chain, it provides good scalability and transparency and has taken advantage of the market opportunities. However, it may also face challenges in cost and scalability and the market's FOMO sentiment.
The advantage of Farcaster is that its underlying design is the most consistent with Web3 logic protocol compared to the previous two, and it has the highest degree of decentralization, but the challenges it brings are the difficulty of technology iteration and user management issues.
The article comes from the Internet:SocialFi Exploration: Solana Actions & Blinks vs Ethereum Farcaster & Lens
A key economic change in V2 is the introduction of larger validator node deposits. Author: Infrared Finance Compiler: Xiaobai Navigation coderworld In January of this year, Berachain's Artio testnet went live, and since then the ecosystem has been steadily rising. Developers, users, and validator operators have all participated in the testing,…