Skip to content

Ethereum Comments Protocol

Why Build on ECP?

  • 🌐 Permissionless & Available - Comments become part of Ethereum's permanent record, accessible by any application
  • 🔧 Composable & Programmable - Comments can be referenced by other smart contracts, enabling new use cases
  • ✅ Verifiable - Cryptographically signed comments provide proof of authorship and timing
  • 🛡️ Censorship Resistant - While apps can moderate interfaces, underlying data remains accessible onchain
  • ⚡ Cheap & Fast - Gas optimized for L2s (~$0.001 per comment on L2s)
  • 🏷️ Attributable to Your App - Comments are linked to both author and app, enabling composable rewards

Choose how to integrate ECP into your app or website

🌐 Iframe Embedding

Drop-in solution for any website. No JavaScript framework required - works everywhere.

Best for: Static sites, WordPress, any platform where you can add HTML

Get Started →

🚀 React Components

Pre-built, customizable UI components for React applications. Perfect for modern web apps.

Best for: React/Next.js applications, modern web development

Get Started →

✍️ React Editor

Rich text editor with mentions, file uploads, and ECP integration.

Best for: Comment creation, rich text editing, file uploads, mention systems

Get Started →

🔧 TypeScript SDK

Direct access to comments data and indexer APIs. Build custom interfaces and experiences.

Best for: Custom implementations, data analysis, headless applications, react-native mobile apps

Get Started →

⚡ Contract Interactions

Direct smart contract integration. Full control over transactions and gas optimization.

Best for: dApps, advanced developers, custom posting flows

Get Started →

Fork a Boilerplate

Get started immediately by forking one of our working demo applications.

📱 React Native + Expo

Mobile app with TypeScript SDK integration. Cross-platform iOS/Android support.

Path:apps/demo-rn-expo

Fork on GitHub →

🌐 Next.js + TypeScript SDK

Full-featured web app with custom UI and direct SDK integration.

Path:apps/demo

Fork on GitHub →

⚡ Next.js + React Components

Blog-style site using pre-built React components for rapid development.

Path:apps/embed-demo-blog

Fork on GitHub →

Write a hook

hooks are smart contracts that define the rules for commenting on a channel. They enable powerful features like:

  • Custom access control
  • Comment fees
  • Integration with other protocols

Learn how to create and deploy your own hook in our hooks Guide.

Next step