#!/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[@]}"