Skip to content

Comments Protocol Contract

The contracts are currently only deployed on the Monad testnet as we decide where to deploy the production contracts.

Comment Manager Contract Details

Comment Manager Contract Functions

FunctionDescriptionNote
postCommentAsAuthorPost a comment directly from the author's address
postCommentPost a comment with both author and app signer signatures
deleteCommentAsAuthorDelete a comment when called by the author⚠️ Deleted data may still be traceable or recoverable on-chain
deleteCommentDelete a comment with signature verification⚠️ Deleted data may still be traceable or recoverable on-chain
addApprovalAsAuthorApprove an app signer directly
revokeApprovalAsAuthorRemove an app signer approval directly

For detailed information about all functions, events, and structs, please refer to the Contract ABI Documentation.

Channel Manager Contract Details

ChannelManager Contract Functions

FunctionDescriptionNote
createChannelCreates a new channel with specified name, description, metadata, and optional hookRequires channel creation fee
updateChannelUpdates an existing channel's name, description, and metadataOnly callable by channel owner
setHookSets or updates a hook contract for a channelOnly callable by channel owner
getChannelRetrieves channel information including name, description, metadata, and hook address
executeHookExecutes channel hooks for comment operationsNormally called by the Comments contract
channelExistsChecks if a channel ID exists
getChannelOwnerGets the owner address of a channel
updateCommentsContractUpdates the address of the Comments contractOnly callable by contract owner
setBaseURISets the base URI for token metadataOnly callable by contract owner

For detailed information about all functions, events, and structs, please refer to the Contract ABI Documentation.