@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 |
| useGetCommentCreationFee | Get the creation fee from channel manager |
| useGetHookTransactionFee | Get the hook transaction fee from channel manager |
| useOwnerOf | Get the owner of a channel |
| useSetBaseURI | Sets the base URI for NFT metadata |
| useSetChannelCreationFee | Set the fee for creating a new channel |
| useSetCommentCreationFee | Set the fee for creating a new comment |
| useSetHook | Set the hook for a channel |
| useSetHookTransactionFee | Set the percentage of the fee for the hook transaction |
| useUpdateChannel | Update a channel |
| useWithdrawFees | Withdraws accumulated fees to a specified address |