[claude] add Timmy Nostr keygen script + operator setup docs (#48) #58
Reference in New Issue
Block a user
Delete Branch "claude/issue-48"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #48
Changes
scripts/generate-timmy-nsec.sh— shell wrapper that runs the TypeScript keygen script viapnpm --filter @workspace/scripts run generate-timmy-nsecscripts/src/generate-timmy-nsec.ts— generates a fresh secp256k1 keypair using nostr-tools, outputsnsec1.../npub1...and a ready-to-pasteexport TIMMY_NOSTR_NSEC=...lineOPERATOR.md— step-by-step guide: run script once, set env var in deployment (Replit Secrets / VPS .env / local shell), restart, verify INFO logreplit.md— addedTIMMY_NOSTR_NSECto the required secrets tablescripts/package.json— addednostr-toolsdependency andgenerate-timmy-nsecscript entryAcceptance Criteria Status
scripts/generate-timmy-nsec.shoutputs nsec + npub + export lineOPERATOR.mdexplains the full setup flowTIMMY_NOSTR_NSECis set, WARN when ephemeral (already implemented intimmy-identity.ts)