@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
Functions
Function | Description |
---|---|
useChannelExists | Check if a channel exists |
useCreateChannel | Create a new channel |
useGetChannel | Get a channel |
useGetChannelCreationFee | Get the creation fee from channel manager |
useGetChannelOwner | Get the owner of a channel |
useGetHookTransactionFee | Get the hook transaction fee from channel manager |
useSetBaseURI | Sets the base URI for NFT metadata |
useSetChannelCreationFee | Set the fee for creating a new channel |
useSetHook | Set the hook for a channel |
useSetHookTransactionFee | Set the percentage of the fee for the hook transaction |
useUpdateChannel | Update a channel |
useUpdateCommentsContract | Updates the comments contract address |
useWithdrawFees | Withdraws accumulated fees to a specified address |