Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / defaultExports

defaultExports

Ethereum Comments Protocol SDK default exports

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.
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_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_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.
ZERO_ADDRESSThe zero address.