Co-authored-by: Claude (Opus 4.6) <claude@hermes.local> Co-committed-by: Claude (Opus 4.6) <claude@hermes.local>
19 lines
635 B
Bash
Executable File
19 lines
635 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# =============================================================================
|
|
# Generate a fresh Nostr keypair for Timmy's persistent identity.
|
|
#
|
|
# Usage:
|
|
# bash scripts/generate-timmy-nsec.sh
|
|
#
|
|
# Requires: pnpm, Node.js, nostr-tools (installed via pnpm install)
|
|
#
|
|
# Output: nsec1... private key, npub1... public key, and an export line
|
|
# to copy-paste into your deployment environment.
|
|
# =============================================================================
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
cd "$REPO_ROOT"
|
|
|
|
exec pnpm --filter @workspace/scripts run generate-timmy-nsec
|