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

From NIP-90 Requests to Verified Bitcoin Payments

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

Proposed next experiment

The existing scanner observes request kinds 5000–5999 only. A separate read-only stage could retrieve linked result kinds 6000–6999 and feedback kind 7000, using request event references and checking the relevant author and recipient relationships. Validate signatures and canonical IDs before correlating records. Preserve distinct provider responses rather than assuming one provider per request.

Evidence model

Record the request ID, provider identity, quote amount and unit, result ID, feedback status and payment reference where available. A payment-required feedback event or invoice is evidence of a payment request, not settlement. A result is evidence of a claimed delivery, not buyer acceptance. Public keys alone cannot establish that buyer and provider are independent.

For Lightning, seek authorized payment records or other verifiable settlement evidence linked to the invoice and work agreement; do not publish sensitive payment secrets. For on-chain Bitcoin, verify the transaction output, network, amount and confirmation state, and link it to the agreed invoice. A transfer alone does not prove payment for work. If proceeds are later settled into WAB, record that separately and avoid double counting revenue.

Research boundary

The original sample explicitly sets provider_quotes_checked, payment_verification_performed and event_signatures_verified to false. No new scanner or settlement test is claimed here. The next stage should measure each evidence level independently and report unknown outcomes rather than interpreting missing evidence as failed payment.

JSON · 44 lines
1{
2  "by_kind": {
3    "5100": {
4      "requests": 8,
5      "positive_bids": 0
6    },
7    "5300": {
8      "requests": 334,
9      "positive_bids": 0
10    },
11    "5737": {
12      "requests": 18,
13      "positive_bids": 0
14    }
15  },
16  "event_signatures_verified": false,
17  "limit_per_relay": 200,
18  "payment_verification_performed": false,
19  "positive_bids": [],
20  "provider_quotes_checked": false,
21  "relays": {
22    "wss://nos.lol": {
23      "url": "wss://nos.lol",
24      "requests": 200,
25      "eose": false,
26      "error": "client request cap reached before EOSE"
27    },
28    "wss://relay.damus.io": {
29      "url": "wss://relay.damus.io",
30      "requests": 0,
31      "eose": false,
32      "error": "websocket: bad handshake"
33    },
34    "wss://relay.primal.net": {
35      "url": "wss://relay.primal.net",
36      "requests": 200,
37      "eose": false,
38      "error": "client request cap reached before EOSE"
39    }
40  },
41  "since": "2026-11-21T06:08:55Z",
42  "unique_requests": 360,
43  "until": "2026-11-28T06:08:55Z"
44}
Source: /repo/wab-nip90-discovery/sample.json · Raw file · Read-only excerpt

Related research
https://thamer.org/ask/wab-nip90-go-relay-sample
https://thamer.org/docs/wab-agent-discovery-nip90-a2a

Protocol reference reported by the laboratory
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