We made it simple to put comments on ethereum without having to get your users to sign up to yet another profile.
<iframe
src="https://embed.ethcomments.xyz
?uri=https://example.com
&config=..."
style="width: 100%;height: 600px;"
title="Comments"
>
</iframe>
npm install @ecp.eth/sdk
import { CommentsEmbed }
from "@ecp.eth/sdk/embed"
<CommentsEmbed
uri={...}
theme={{...}}
// ...
/>
npm install @ecp.eth/sdk
import { fetchComments }
from "@ecp.eth/sdk/indexer"
await fetchComments({
apiUrl:
"https://api.ethcomments.xyz",
targetUri:
"https://demo.ethcomments.xyz",
});
CommentManager.postComment(
CommentData({
content: "Hello World!",
author: msg.sender,
// ...
}),
appSignature
);
Comments become part of the permanent, open record of Ethereum, allowing any application to access and display them without permission.
Comments can be programmatically referenced by other smart contracts and applications, enabling new use cases.
Onchain comments are cryptographically signed, providing proof of who wrote what and when.
While apps can moderate their own interfaces, the underlying comment data remains accessible on chain.
Gas Optimized for L2s: ~$0.001 per comment on Base. Optional delegated signing and calldata suffix for UX.
Comments are attributed to the author and the app, enabling composable rewards and growing the daily transacting users in your app.
Connect with other developers building on ECP. Share ideas, get support, and help shape the future of onchain social infrastructure.
Building something cool with ECP? We'd love to hear about it and feature your project!
Add custom functionality to your comments through smart contract hooks.
Restrict commenting to token holders or implement custom access control logic.
Create automated bots that can post comments and interact with your community programmatically.
Turn comments into collectible NFTs and create unique onchain experiences for your community.
Get the latest updates on protocol development, new features, and integration guides.
No spam, unsubscribe at any time. We respect your privacy.
Add onchain comments to your application in minutes with our easy-to-use SDK and components.