ln_trust_attest
Publish a trust attestation for a vendor on Nostr, enabling agents to share and build community reputation based on transaction history.
Instructions
Publish a trust attestation for a vendor.
Creates a NIP-85 Trusted Assertion and pushes it to Nostr relays. Other agents can pull these attestations to build community reputation.
Args: vendor: Vendor name or domain to attest. score: Trust score 0.0-1.0. If omitted, auto-calculated from local reputation (success_rate * volume factor). basis: Reason for the score (default: "transaction_history").
Returns: Attestation details including score and relay push status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| score | No | ||
| basis | No | transaction_history |