Lightning Messageboard Demo

You need to provide a NWC connection secret for a sub-wallet with receive-only permissions (make_invoice, lookup_invoice, list_transactions) to receive payments.

Current connection secret:

Basic Usage

The messageboard with default settings:

Integration Code

Here's how to integrate the Lightning Messageboard into your website:

1. Include the script:

<script type="module" src="https://esm.sh/@getalby/lightning-messageboard"></script>

2. Use the web component

<lightning-messageboard nwc-url="nostr+walletconnect://..." theme='{"primary-color":"#0066cc"}'></lightning-messageboard>

Required Attributes

nwc-url

NWC connection secret for Lightning Network payments.

Example: nwc-url="nostr+walletconnect://..."

Optional Attributes

theme

JSON string with theme colors.

Example: theme='{"primary-color":"#6200ea","background-color":"#0091ea"}'

Classic Bitcoin Theme

Nostr Theme

Minimal Black & White Theme