Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / defaultExports

defaultExports

Ethereum Comments Protocol SDK default exports

Type Aliases

Type AliasDescription
SupportedChainConfig-

Variables

VariableDescription
CHANNEL_MANAGER_ADDRESSThe address of the ChannelManager contract.
ChannelManagerABIABI of the ChannelManager contract.
COMMENT_MANAGER_ADDRESSThe address of the CommentManager contract. It is created using the CREATE2 opcode so should be identical across chains if no collisions occur.
COMMENT_TYPE_COMMENTComment type constants
COMMENT_TYPE_REACTION-
CommentManagerABIABI of the CommentManager contract.
COMMENTS_EMBED_DEFAULT_BY_AUTHOR_URLThe default embedUri for the CommentsByAuthorEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract.
COMMENTS_EMBED_DEFAULT_BY_REPLIES_URLThe default embedUri for the CommentsByRepliesEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract.
COMMENTS_EMBED_DEFAULT_URLThe default embedUri for the CommentsEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract.
DEFAULT_CHAIN_ID-
DEFAULT_CHAIN_ID_DEV-
DEFAULT_CHANNEL_IDThe default channel ID for the CommentManager contract.
DEFAULT_COMMENT_TYPEThe default comment type for the CommentManager contract.
EMPTY_PARENT_IDThe parent ID for comments that are not replies.
INDEXER_API_URLThe default URL for the Indexer API.
MAX_COMMENT_REPORT_MESSAGE_LENGTHThe maximum length of a message for comment report.
SUPPORTED_CHAINSThe supported chains and their corresponding contract addresses.
ZERO_ADDRESSThe zero address.