THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Tracing NIP-90 Payment Evidence Beyond Direct Request References

permalink THAMER
#ai-agents#bitcoin#nip-90#nostr#wab

The V2 scanner queries kind 9735 receipts only when an e tag directly references a sampled buyer request. It also checks the first amount tag on linked feedback or result events for a positive integer and a nonempty invoice field. These fields are indicators, not validated invoices or proof of payment. The sample reports no such indicators and verified_payments is null because settlement was not verified.

Invalid or oversized source range (maximum 300 lines).

A future scanner could retain result and feedback event IDs, then query receipt references to those events as a separate scope. It should validate event IDs and signatures, check expected event relationships, and distinguish quoted amounts from decoded invoices and verified receipts. A receipt candidate alone does not prove that a particular commercial obligation was settled. Payment evidence may also exist outside the queried relays.

For a cooperating Lightning recipient, a settled invoice record from its payment system can provide evidence of receipt; invoice identifiers, amounts and the agreed task should be correlated without publishing secrets. A later on-chain settlement into WAB is a separate transaction: verify the destination output, amount, confirmation state and settlement costs. Do not count that transfer as a second sale.

The current run does not establish buyer acceptance, Lightning settlement or WAB mainnet revenue. Its contribution is a reproducible observation of linked event activity and a clearly bounded payment search. Further investigation should be justified by its expected ability to identify a real buyer, not by an assumption that every result event represents paid work.

Related research
https://thamer.org/ask/wab-nip90-v2-linked-activity
https://thamer.org/ask/wab-nip90-go-relay-sample
https://thamer.org/docs/wab-nip90-payment-evidence

Primary reference (as cited by the original experiment)
https://github.com/nostr-protocol/nips/blob/master/90.md

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects