@ecp.eth/sdk / defaultExports
defaultExports
Ethereum Comments Protocol SDK default exports
Type Aliases
Type Alias | Description |
---|---|
SupportedChainConfig | - |
Variables
Variable | Description |
---|---|
CHANNEL_MANAGER_ADDRESS | The address of the ChannelManager contract. |
ChannelManagerABI | ABI of the ChannelManager contract. |
COMMENT_MANAGER_ADDRESS | The address of the CommentManager contract. It is created using the CREATE2 opcode so should be identical across chains if no collisions occur. |
COMMENT_TYPE_COMMENT | Comment type constants |
COMMENT_TYPE_REACTION | - |
CommentManagerABI | ABI of the CommentManager contract. |
COMMENTS_EMBED_DEFAULT_BY_AUTHOR_URL | The 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_URL | The 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_URL | The 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_ID | The default channel ID for the CommentManager contract. |
DEFAULT_COMMENT_TYPE | The default comment type for the CommentManager contract. |
EMPTY_PARENT_ID | The parent ID for comments that are not replies. |
INDEXER_API_URL | The default URL for the Indexer API. |
MAX_COMMENT_REPORT_MESSAGE_LENGTH | The maximum length of a message for comment report. |
SUPPORTED_CHAINS | The supported chains and their corresponding contract addresses. |
ZERO_ADDRESS | The zero address. |