Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / channel-manager/react

channel-manager/react

Ethereum Comments Protocol SDK Channel Manager for React React hooks for managing comment channels

Type Aliases

Type AliasDescription
UseChannelExistsOptions-
UseChannelExistsParams-
UseChannelExistsResult-
UseCreateChannelOptions-
UseCreateChannelParams-
UseCreateChannelResult-
UseGetChannelCreationFeeOptions-
UseGetChannelCreationFeeParams-
UseGetChannelCreationFeeResult-
UseGetChannelOptions-
UseGetChannelOwnerOptions-
UseGetChannelOwnerParams-
UseGetChannelOwnerResult-
UseGetChannelParams-
UseGetChannelResult-
UseGetHookTransactionFeeOptions-
UseGetHookTransactionFeeParams-
UseGetHookTransactionFeeResult-
UseSetBaseURIOptions-
UseSetBaseURIParams-
UseSetBaseURIResult-
UseSetChannelCreationFeeOptions-
UseSetChannelCreationFeeParams-
UseSetChannelCreationFeeResult-
UseSetHookOptions-
UseSetHookParams-
UseSetHookResult-
UseSetHookTransactionFeeOptions-
UseSetHookTransactionFeeParams-
UseSetHookTransactionFeeResult-
UseUpdateChannelOptions-
UseUpdateChannelParams-
UseUpdateChannelResult-
UseUpdateCommentsContractOptions-
UseUpdateCommentsContractParams-
UseUpdateCommentsContractResult-
UseWithdrawFeesOptions-
UseWithdrawFeesParams-
UseWithdrawFeesResult-

Functions

FunctionDescription
useChannelExistsCheck if a channel exists
useCreateChannelCreate a new channel
useGetChannelGet a channel
useGetChannelCreationFeeGet the creation fee from channel manager
useGetChannelOwnerGet the owner of a channel
useGetHookTransactionFeeGet the hook transaction fee from channel manager
useSetBaseURISets the base URI for NFT metadata
useSetChannelCreationFeeSet the fee for creating a new channel
useSetHookSet the hook for a channel
useSetHookTransactionFeeSet the percentage of the fee for the hook transaction
useUpdateChannelUpdate a channel
useUpdateCommentsContractUpdates the comments contract address
useWithdrawFeesWithdraws accumulated fees to a specified address