Add relays to zapthreads

This commit is contained in:
austinkelsay 2024-11-15 13:10:37 -06:00
parent 33da6d34f1
commit 75cc61b0d3
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
3 changed files with 23 additions and 2 deletions

View File

@ -92,7 +92,7 @@ const CommunityMessage = ({ message, searchQuery, windowWidth, platform }) => {
<ZapThreadsWrapper
anchor={nip19.noteEncode(message.id)}
user={nsec || npub || null}
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/, wss://relay.devs.tools/"
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/, wss://nostr21.com/, wss://nostrue.com/, wss://purplerelay.com/, wss://relay.devs.tools/"
/>
) : null}
</div>

View File

@ -34,6 +34,27 @@ const appConfig = {
// your LND REST API port (default is 8080)
lndPort: "8080",
},
{
// todo remove need for lowercase
// name will appear as name@plebdevs.com (lowercase)
name: "plebdevs",
// If enabled, zaps are enabled
allowsNostr: true,
// make you're own lud06 metadata description
description: "plebdevs.com",
// millisats
maxSendable: 10000000000,
// millisats
minSendable: 1000,
// Your LND invoice macaroon
invoiceMacaroon: process.env.LND_MACAROON,
// your LND TLS certificate (may be optional depending on your LND configuration)
lndCert: "",
// your LND host (do not include https:// or port)
lndHost: process.env.LND_HOST,
// your LND REST API port (default is 8080)
lndPort: "8080",
},
],
};

View File

@ -176,7 +176,7 @@ const Details = () => {
<ZapThreadsWrapper
anchor={nAddress}
user={nsec || npub || null}
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/, wss://relay.devs.tools/"
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/, wss://nostr21.com/, wss://nostrue.com/, wss://purplerelay.com/, wss://relay.devs.tools/"
disable="zaps"
/>
</div>