Files
client/start-bunker.sh
2026-04-17 16:52:51 -04:00

22 lines
510 B
Bash
Executable File

#!/bin/bash
# Configuration
# Replace with your actual nsec key
NSEC_KEY="YOUR_NSEC_KEY_HERE"
RELAYS=(
"wss://relay.primal.net"
"wss://relay.damus.io"
"wss://relay.laantungir.net"
)
# Usage: ./start-bunker.sh
# The script uses the variables defined above.
if [ "$NSEC_KEY" == "YOUR_NSEC_KEY_HERE" ]; then
echo "Error: Please set your NSEC_KEY in the script."
exit 1
fi
# Start the bunker with the --qrcode flag and the configured relays
nak bunker --sec "$NSEC_KEY" --qrcode "${RELAYS[@]}"