Goodearth Receive Npub Proof
goodearth_receive_npub_proofReceive npub ownership confirmation from a patron.
Completes the npub-OWNERSHIP-PROOF flow (the credential-delivery
counterpart is receive_credentials).
Call this only after the user confirms they have replied.
Deterministic, one-shot retrieval: name the response with
(patron_npub, dpop_token) — the dpop_token being the value
returned by request_npub_proof. The tool drains ONLY the pinned
rendezvous relay that challenge was published on, stopping at the DM
whose phrase matches. Mismatched DMs are deleted and NACK'd (without
revealing the expected phrase). If called before the user replies,
their message will never be found. Do NOT poll, loop, or retry.
The signed DM itself proves npub ownership (the patron's nsec
signed it). On success, returns a new dpop_token: an
Operator-signed proof grant envelope {"grant": …, "nonce": …}
bound to the patron, this challenge, and the duration the patron
named. The calling application MUST remember that whole string and
pass it as dpop_token on every subsequent paid tool call. The
grant is self-verifying; nothing about it is stored here. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpop_token | No | Required. The dpop_token returned by request_npub_proof. | |
| patron_npub | No | Required. The patron's npub to receive proof from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||