Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Lens Protocol

Lens Protocol is a decentralized, composable social graph protocol built on Polygon where user profiles, follows, and content are represented as non-fungible tokens (NFTs).
Chainscore © 2026
definition
DECENTRALIZED SOCIAL GRAPH

What is Lens Protocol?

Lens Protocol is a decentralized social graph built on the Polygon blockchain, enabling user-owned social networks and portable social identities.

Lens Protocol is a composable and decentralized social graph protocol built on the Polygon Proof-of-Stake blockchain. It re-architects social media by making the core social graph—the network of user profiles, connections, and content—a public, user-owned piece of infrastructure. Unlike traditional platforms where data is siloed and owned by a corporation, Lens stores social relationships and content as non-fungible tokens (NFTs) and other blockchain assets, giving users true ownership and control. This foundational shift allows for permissionless innovation, where any developer can build a social application on top of this shared data layer.

The protocol's architecture is built around key, user-owned primitives. A user's profile is represented by a Profile NFT, which acts as their portable identity. When someone follows a profile, they receive a Follow NFT, which can be programmed with unique utility. Content publications, such as posts, comments, and mirrors (similar to reposts), are also minted as NFTs, creating a permanent, verifiable record. This design enables powerful new features: users can collect (like a paid like or mint) publications, revenue from fees and collect modules flows directly to creators, and social capital becomes a tradable, composable asset that can be integrated across different applications, known as "moments."

For developers, Lens Protocol functions as a modular and extensible base layer. It provides a core set of smart contract modules for essential social functions—publishing, following, and collecting—while allowing for custom modules to be added for features like unique membership schemes, revenue splits, or governance mechanisms. This composability means a social media front-end, a curation dashboard, and a analytics tool can all read from and write to the same underlying social graph, creating an ecosystem of interoperable applications rather than walled gardens. The protocol is governed by a decentralized autonomous organization (DAO), Lens DAO, which oversees upgrades and the community treasury.

The primary use case for Lens is enabling a new generation of user-owned social networks. Applications built on Lens, such as Lenster, Orb, and Phaver, offer familiar social media experiences but with key differences: users can switch between clients without losing their audience or content, creators have direct monetization pathways, and communities can build valuable, persistent assets. By decoupling the social graph from specific applications, Lens Protocol aims to solve issues of platform lock-in, data ownership, and algorithmic control, presenting a foundational protocol for a more open and equitable web3 social ecosystem.

how-it-works
ARCHITECTURE

How Lens Protocol Works

Lens Protocol is a decentralized social graph built on the Polygon blockchain, enabling user-owned social profiles and interactions through a system of composable, non-fungible tokens (NFTs).

At its core, Lens Protocol operates on a modular architecture where key social primitives are represented as NFTs. The central component is the Profile NFT, which acts as a user's portable, self-sovereign identity. This NFT is the root of a user's social graph, storing their posts, mirrors (reposts), and followers. All content and interactions—such as publications (posts, comments, mirrors) and collects (a monetization feature)—are linked as metadata to this profile NFT, creating an immutable and user-controlled record.

Interactions on Lens are permissionless and composable, enabled by a set of standardized smart contract modules. Developers can build applications—or "frontends"—that plug into this shared social layer using these modules for features like following, collecting, and referencing. This means a user's social connections and content persist across any app built on Lens, breaking platform lock-in. The protocol uses a follow module to gate access, a collect module to monetize content, and a reference module to control commenting and mirroring, all customizable by profile owners.

The underlying data structure is stored on the InterPlanetary File System (IPFS) and Arweave for decentralized, permanent storage, while the Polygon blockchain secures the ownership and transactional logic. This separation ensures content availability and censorship resistance. For example, when a user posts, the content (text, image) is hashed and pinned to IPFS, and that hash is recorded on-chain as part of the publication's metadata linked to their Profile NFT.

From a user's perspective, working with Lens involves using a crypto wallet to manage their Profile NFT. Actions like following another profile often require holding a Follow NFT, which can confer governance rights or exclusive access. Revenue streams are native; creators can set a fee in MATIC or other tokens for their collect module, allowing followers to directly support and own a piece of the content. This creates a circular economy where value flows between creators, curators, and consumers without intermediary platforms taking a cut.

The protocol's design emphasizes composability, allowing any developer to create new social experiences or monetization models by writing custom modules that adhere to the protocol's interfaces. This has led to a diverse ecosystem of Lens-based applications, from traditional social feeds to community tools and NFT-gated experiences, all interoperating through the same underlying social graph owned by the users themselves.

key-features
ARCHITECTURAL PRIMITIVES

Key Features of Lens Protocol

Lens Protocol is a decentralized social graph built on Polygon, defined by a set of composable, user-owned data primitives that enable modular social applications.

01

Profile NFT

The core identity primitive, a non-fungible token (NFT) that represents a user's portable social identity. It stores all social data—followers, publications, and collected content—on-chain. Ownership grants full control, allowing profiles to be traded, rented, or used as collateral, fundamentally separating social identity from any single application.

02

Follow NFT

A mintable NFT issued to a follower when they subscribe to a Profile. It enables programmable governance and access control:

  • Creators can gate content or token-gated communities based on Follow NFT ownership.
  • Each Follow NFT has a unique token ID, allowing for rarity traits or rewards for early supporters.
  • It turns a social connection into a verifiable, tradable asset.
03

Publications

The core content primitive, representing any piece of content created. It is structured into three main types:

  • Posts: Basic text, image, or video updates.
  • Comments: Replies to other publications, forming threaded conversations.
  • Mirrors: Similar to a 'retweet,' enabling content resharing without duplication. All publications are permanently stored on decentralized storage like IPFS, referenced via ContentURI.
04

Collect Mechanism

A built-in monetization primitive that allows any publication to be minted as a collectible NFT. Followers can pay a fee set by the creator to 'collect' a post, comment, or mirror. This turns content into a digital asset, enabling direct creator revenue, secondary market royalties, and proof of membership for exclusive communities.

05

Composable & Modular Design

Lens is built as a set of open, interoperable smart contracts. This allows developers to:

  • Build new social apps (frontends) that all plug into the same underlying social graph.
  • Create custom modules that add logic to core actions like following, collecting, or referencing.
  • Enable permissionless innovation where features from one app can be used in another, preventing platform lock-in.
06

Decentralized Social Graph

The protocol maintains a user-centric, portable relationship map stored entirely on-chain. Key attributes:

  • User-Owned: Relationships and content are owned by the user, not a corporation.
  • Portable: Users can switch between different Lens client applications (e.g., Lenster, Orb, Phaver) while retaining their network and data.
  • Verifiable: All connections and interactions are transparent and cryptographically secured on the Polygon blockchain.
core-primitives
LENS PROTOCOL

Core Social Primitives

The fundamental, composable building blocks that enable decentralized social networking, user sovereignty, and data portability on the blockchain.

Core social primitives are the essential, modular components—such as user profiles, posts, comments, and follows—that form the foundation of a decentralized social graph. In a protocol like Lens Protocol, these primitives are represented as non-fungible tokens (NFTs) or other on-chain assets, granting users true ownership and control over their social identity and content. This architecture stands in stark contrast to traditional platforms where user data and connections are siloed and owned by a central corporation.

The key innovation of these primitives is their composability and interoperability. Because a user's profile is an NFT and their posts are collectible assets, these elements can be freely integrated, extended, and utilized by any application built on the protocol. A developer can create a new social front-end, a curation dashboard, or a monetization tool that seamlessly interacts with a user's existing social graph, fostering an open ecosystem of innovation without platform lock-in.

For example, on Lens Protocol, core primitives include the Profile NFT (a user's portable identity), Publications (posts, mirrors, and comments), and Follow NFTs (tokenized follower relationships). When a user collects (like purchasing) another user's publication, that action creates a new, tradable NFT, directly linking content creation to potential revenue. This transforms social capital into verifiable, ownable assets on the blockchain.

The security and verifiability of these relationships are anchored in smart contracts on the Polygon blockchain. Every interaction—following, posting, collecting—is a transparent on-chain transaction, creating an immutable and censorship-resistant record. This allows for novel features like provable social reputation, programmable monetization rules encoded directly into the content, and the ability to "take your followers with you" across different applications.

Ultimately, core social primitives aim to realign incentives in social media by putting users at the center. By owning their social graph, users capture the value they generate, and developers can build on a stable, permissionless foundation. This paradigm shift enables a future where social networks are user-owned utilities rather than centralized attention marketplaces.

ecosystem-usage
LENS PROTOCOL

Ecosystem & Applications

Lens Protocol is a decentralized social graph built on the Polygon blockchain, enabling user-owned social networking where profiles, connections, and content are portable, composable NFTs.

02

Publication Types

Content on Lens is structured into three primary publication types, each stored as metadata linked to a Profile NFT:

  • Posts: Standard content updates, similar to tweets or blog posts.
  • Comments: Replies attached to another publication, forming threaded discussions.
  • Mirrors: The protocol's equivalent of a 'share' or 'retweet', amplifying content without creating a new original post. Each publication can integrate collect modules (for monetization via NFT minting) and reference modules (to govern who can comment or mirror).
03

Social Graph Modules

Lens uses a modular, smart contract-based system to customize social interactions. Key modules include:

  • Follow Modules: Logic that determines the requirements to follow a profile (e.g., fee payment, token holding).
  • Collect Modules: Rules for minting a publication as an NFT, setting price, supply, and currency.
  • Reference Modules: Govern who can comment on or mirror a specific publication. This modularity allows developers to build unique social mechanics and monetization strategies directly into the protocol layer.
05

Monetization & Creator Economy

Lens embeds native monetization tools, shifting value from platforms to creators and users.

  • Collecting: Followers can mint publications as NFTs, providing direct revenue to creators.
  • Subscription Follows: Creators can use fee-based Follow Modules for gated access.
  • Tipping & Governance: Integration with tokens enables direct tipping, and profile holders can participate in protocol governance. Revenue flows are enforced by smart contracts, eliminating intermediary platform fees.
06

Technical Foundation & Interoperability

Lens is built for composability within the broader Web3 stack.

  • Blockchain: Deployed on Polygon as a Layer 2 solution for low-cost, fast transactions.
  • Storage: Publication content (text, images, metadata) is typically stored on decentralized storage like IPFS or Arweave, referenced by on-chain pointers.
  • Interoperability: As an open protocol, any smart contract or dApp can permissionlessly read from and write to the social graph, enabling integration with DeFi, DAOs, and gaming.
ARCHITECTURE COMPARISON

Lens Protocol vs. Traditional Social Graphs

A technical comparison of core architectural and economic properties between a decentralized social graph protocol and centralized platform models.

Feature / MetricLens ProtocolTraditional Social Graphs (e.g., Twitter, Facebook)

Data Ownership & Portability

User-owned social graph stored on-chain or via decentralized storage. Portable across any frontend (client).

Censorship Resistance

Content logic is permissionless and governed by smart contracts. Frontends can moderate, but data persists.

Centralized platform controls all content moderation and user removal.

Monetization Model

Native, programmable revenue streams via collect (NFTs), mirrors, and fee modules. Value accrues to creators and curators.

Platform-controlled advertising. Value extraction by the platform; creators receive a limited share.

Protocol Upgrades & Governance

Governed by LENs token holders via decentralized autonomous organization (Lens DAO).

Determined unilaterally by the corporate entity.

Data Storage & Availability

Immutable record on Polygon blockchain. Metadata typically stored on decentralized protocols like IPFS or Arweave.

Stored in proprietary, centralized databases. Subject to platform's data retention policies.

Composability & Ecosystem

Fully composable. Any developer can build new applications, algorithms, or monetization tools on the open social graph.

Closed ecosystem. Functionality and API access are gated and controlled by the platform.

Account Recovery

Self-custody via wallet private keys. Social recovery possible via smart contract modules.

Centralized account recovery process (e.g., email, phone verification).

Base Transaction Cost

Gas fees on Polygon (~$0.01 - $0.10 per interaction).

Free at point of use for users (costs absorbed by platform).

security-considerations
LENS PROTOCOL

Security & Design Considerations

Lens Protocol is a decentralized social graph built on the Polygon blockchain, designed to give users ownership of their social connections and content. Its security and architecture present unique considerations distinct from traditional social platforms.

02

Smart Contract Upgradability

Lens uses a proxy upgrade pattern for its core contracts, allowing for protocol improvements and bug fixes. This introduces a centralization trade-off: a multi-sig governed by the Lens team controls upgrades. While this enables rapid iteration, it creates a temporary trust assumption until full decentralization is achieved. Users must trust the governance process to not introduce malicious changes.

03

Censorship Resistance & Moderation

The protocol itself is permissionless, but moderation is application-layer. Key considerations include:

  • Frontend Censorship: Any app can filter content, but the underlying data persists on-chain.
  • Algorithmic Freedom: Each client can implement its own feed algorithms, preventing a single entity from controlling visibility.
  • Takedown Challenges: Removing content requires convincing individual app operators, not a central authority, though significant social pressure can still apply.
04

Economic Spam Mitigation

To prevent spam, key actions like following, commenting, and mirroring require paying gas fees on Polygon. This creates a micro-economic barrier. Additionally, profile creation often involves a minting fee. While effective, this can limit accessibility. Some apps implement alternative gasless transaction relays sponsored by the app, which shifts the cost burden and introduces new trust models around relayers.

06

Wallet & Key Management Risk

User security is fundamentally tied to private key management. Losing a wallet means losing the Lens Profile NFT and all associated social capital. There is no 'forgot password' recovery. This makes secure practices (hardware wallets, social recovery wallets like Safe) critical. Phishing attacks targeting wallet connections to malicious frontends are a primary threat vector in the ecosystem.

composability-modules
COMPOSABILITY & MODULES

Lens Protocol

An overview of Lens Protocol, a decentralized social graph built on the Polygon blockchain, designed for composable, user-owned social applications.

Lens Protocol is a decentralized, composable social graph built on the Polygon Proof-of-Stake blockchain, enabling developers to create social media applications where users own their content and connections. Unlike traditional platforms, it treats social relationships—such as profiles, posts, follows, and comments—as non-fungible tokens (NFTs) and other transferable assets stored on-chain. This architecture allows for permissionless innovation, where any developer can build a new application or feature that interoperates with the existing social network and user data.

The protocol's core modules are smart contracts that define the logic for key social actions, such as Follow, Collect, and Reference. These modules are upgradeable and can be customized by developers to create unique social mechanics, like token-gated content or revenue-sharing mechanisms. For example, a profile is an NFT (Profile NFT) that serves as a user's portable identity; followers are represented by Follow NFTs, and collected posts become Collect NFTs. This modular design is the foundation of its composability, allowing different applications to read from and write to the same underlying social graph.

Composability in Lens refers to the ability for applications and smart contracts to be seamlessly combined like building blocks. A post created in one Lens-based app can be displayed, collected, or commented on in any other app built on the protocol. This creates an ecosystem where innovation is additive rather than siloed. Developers can fork and remix existing modules, and users can take their social capital—their followers and content—with them across different front-end interfaces, from micro-blogging apps to video platforms or decentralized autonomous organizations (DAOs).

The user-owned data model fundamentally shifts power dynamics in social media. Since relationships and content are on-chain assets, users have provable ownership and can potentially monetize their influence directly. They can also grant permissions to applications through ERC-6551 Token Bound Accounts, where a Profile NFT can control its own wallet. This enables complex use cases like profile-based transactions or asset management, further blending social and financial interactions within the Web3 stack.

For developers, Lens Protocol provides a suite of tools including the Lens API (a decentralized index of social data), the Lens SDK, and the Lens Network (a Layer 3 solution using zkSync's ZK Stack for scaling). This infrastructure aims to reduce the cost and complexity of building social features while ensuring data remains open and interoperable. The protocol exemplifies how modular blockchain design can be applied to social networking, creating a fertile ground for experimentation beyond the constraints of walled-garden platforms.

LENS PROTOCOL

Common Misconceptions

Lens Protocol is a decentralized social graph, but its architecture and purpose are often misunderstood. This section clarifies the most frequent points of confusion.

No, Lens Protocol is not a social media application; it is a decentralized social graph protocol and a set of composable smart contracts. Think of it as the foundational infrastructure—like TCP/IP for the internet—upon which developers can build their own social applications (known as "frontends" or "clients"). Applications like Orb, Phaver, and Buttrfly use the Lens Protocol to access a shared social graph, where user profiles, connections, and content are owned as non-fungible tokens (NFTs) on the Polygon blockchain. This separation of the data layer (the protocol) from the interface layer (the apps) is a core Web3 principle.

LENS PROTOCOL

Frequently Asked Questions

Essential questions and answers about the decentralized social graph protocol, its core components, and its developer ecosystem.

Lens Protocol is a decentralized social graph and composable Web3 social media infrastructure built on the Polygon Proof-of-Stake blockchain. It works by representing core social media primitives—such as user profiles, posts, comments, and follows—as non-fungible tokens (NFTs) and other blockchain-based assets. A user's profile is an NFT owned by their wallet, granting them true ownership and portability of their social identity and content. Interactions like follows are represented as follow NFTs, and content is stored on decentralized storage solutions like IPFS or Arweave. This modular, on-chain architecture allows any application to permissionlessly read, write, and build upon the shared social graph, enabling user-owned social networks.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Lens Protocol: Decentralized Social Graph on Polygon | ChainScore Glossary