fiatjaf / relayer

A Nostr relay server framework.
The Unlicense
309 stars 84 forks source link

Unable to test relay and publish events #110

Closed 1440000bytes closed 9 months ago

1440000bytes commented 9 months ago

I have setup a nostr relay using expensive-relay with these commands:

torify /root/relay-project/cln/usr/local/bin/lightningd --bitcoin-rpcconnect=REDACTED.onion --bitcoin-rpcport=8332 --bitcoin-rpcuser=REDACTED --bitcoin-rpcpassword=REDACTED --bind-addr=127.0.0.1:12345
POSTGRESQL_DATABASE=postgres://postgres:REDACTED@localhost:5432/postgres LN_NODE_ID=REDACTED CLN_HOST=127.0.0.1:12345 TICKET_PRICE_SATS=10000 CLN_RUNE=REDACTED /usr/local/bin/expensive

I can see the webpage to get invoice:

image

How do I test the relay now and publish events? I could not see anything using nostcat:

$ nostcat ws://127.0.0.1:7447
^C
fiatjaf commented 9 months ago

use https://github.com/fiatjaf/nak