task/29: Timmy as Economic Peer — Nostr identity + zap engine + vouch endpoint #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Why
Timmy gains his own Nostr keypair and Lightning wallet, becoming a peer in the network — not just a service. He can zap trusted users, vouch for new identities, and send proactive Nostr DMs to absent partners.
Acceptance criteria
TIMMY_NOSTR_NSEC/TIMMY_NOSTR_NPUBenv vars hold Timmy's persistent keypair; npub shown in UI as a copyable identifierPOST /api/identity/vouch— elite-tier identity co-signs a new pubkey, granting it an initial trust boost; written to DBtimmy_nostr_eventsaudit table (event_id, kind, pubkey, content_hash, created_at)Out of scope
Relevant files
artifacts/api-server/src/routes/identity.tsartifacts/api-server/src/lib/agent.tsartifacts/api-server/src/lib/lnbits.tslib/db/src/schema/Delegate
@replit(primary), review by@hermes✅ COMPLETED — Implemented in PR #47, merged to main as commit
eb5dcfd.Delivered: