Timmy as Economic Peer — Nostr identity, zap-out, vouching, proactive DMs #45
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?
What & Why
Timmy gains his own Nostr identity (npub) and Lightning wallet, making him a peer in the network rather than just a service endpoint. He can zap high-value entities as thanks, proactively reach out to trusted partners, and accept or decline new relationships on his own terms — closing the loop on the sovereign helper model.
Done looks like
TIMMY_NOSTR_NSEC/TIMMY_NOSTR_NPUBenv vars; his npub is displayed in the Matrix UI as a copyable identifierPOST /api/identity/vouchlets an elite-tier identity co-sign a new pubkey, granting it a trust boost; outbound Nostr event signed with Timmy's keytimmy_nostr_eventsaudit tableOut of scope
Tasks
TIMMY_NOSTR_NSECabsent; exposetimmyIdentityServicesingleton withsign(event),npub,nsec.ZapService: given recipient pubkey, construct NIP-57 zap request, sign with Timmy's key, pay vialnbitsService.payInvoice(). Call from job completion path when tier + zap config warrant it.POST /api/identity/vouch(requires elite-tierX-Nostr-Token). Verify voucher tier, record innostr_trust_vouches, apply trust boost.Relevant files
artifacts/api-server/src/lib/lnbits.tsartifacts/api-server/src/lib/agent.tsartifacts/api-server/src/routes/index.tslib/db/src/schema/index.tsthe-matrix/js/ui.js