Why Nostr? What is Njump?
2023-01-16 22:02:15

melvincarvalho on Nostr: # To run a relay in 3 lines ## Prerequsites Install docker ## Install nostr-rs-relay ...

# To run a relay in 3 lines

## Prerequsites

Install docker

## Install nostr-rs-relay

sudo docker pull scsibug/nostr-rs-relay

## Run relay

mkdir data

sudo docker run -it -p 4100:8080 --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind scsibug/nostr-rs-relay:latest

## Result

Relay will be running on port 4100 and events will be in ./data

## Testing

echo '["REQ","sub",{}]' | websocat -n ws://localhost:4100

Requires websocat, and some events
Author Public Key
npub1melv683fw6n2mvhl5h6dhqd8mqfv3wmxnz4qph83ua4dk4006ezsrt5c24