nostr-chat-widget-react

1.0.7 • Public • Published

nostr-chat-widget-react

A react component that provides a live-chat widget over nostr.

Getting Started

npm i nostr-chat-widget-react
import NostrChatWidget from 'nostr-chat-widget-react'

<NostrChatWidget
    recipientPk={'32_BYTE_HEX_PUBLIC_KEY_FOR_NOSTR'}
    relayUrls={['wss://no.str.cr', 'wss://relay.damus.io', 'wss://nostr.fly.dev', 'wss://nostr.robotechy.com']} 
/>

Note: You can change the relayUrls to any relay(s) you'd like.

Readme

Keywords

none

Package Sidebar

Install

npm i nostr-chat-widget-react

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

355 kB

Total Files

18

Last publish

Collaborators

  • leesalminen