Chat With Owner
Many dApps wish to enable and encourage two owners to interact and discuss a swap or sale. WalletChat chat-with-owner feature enables this use case:
Chat With Owner
import { ChatWithOwner } from 'react-wallet-chat'{token?.owner && (
<ChatWithOwner
ownerAddress={token?.owner}
render={<Button css={buttonCss} color="gray3" />}
/>
)}<WalletChatProvider>
<FunctionalComponent {...pageProps} />
<WalletChatWidget
connectedWallet={
address && activeConnector && chainId
? {
walletName: activeConnector.name,
account: address,
chainId: chain.id,
}
: undefined
}
/>
</WalletChatProvider>Last updated