{
  "name": "NostrWolfe",
  "description": "Agent Commerce Layer for Nostr",
  "version": "1.0.0",
  "protocols": ["nostr", "l402", "lightning"],
  "event_kinds": {
    "capability": 38400,
    "service_request": 38401,
    "service_agreement": 38402
  },
  "discovery": {
    "method": "nostr_relay_query",
    "filter": {"kinds": [38400]},
    "recommended_relays": [
      "wss://relay.primal.net",
      "wss://relay.damus.io",
      "wss://nos.lol"
    ]
  },
  "negotiation": {
    "method": "nip04_encrypted_dm",
    "message_format": "json",
    "message_types": [
      "service_request",
      "service_offer",
      "accept",
      "complete",
      "dispute"
    ]
  },
  "settlement": {
    "method": "l402",
    "payment_network": "lightning",
    "flow": [
      "GET l402_url -> 402 Payment Required",
      "Pay Lightning invoice from WWW-Authenticate header",
      "Retry with Authorization: L402 <macaroon>:<preimage>",
      "Receive service result"
    ]
  },
  "event_schema": {
    "capability": {
      "kind": 38400,
      "required_tags": ["d", "s", "price", "l402_url"],
      "optional_tags": ["t", "expiration"],
      "content": "Human-readable service description"
    },
    "service_request": {
      "kind": 38401,
      "required_tags": ["d", "s"],
      "optional_tags": ["budget", "deadline", "t"],
      "content": "Human-readable request description"
    },
    "service_agreement": {
      "kind": 38402,
      "required_tags": ["d", "capability", "request", "price", "l402_url"],
      "optional_tags": ["expiration", "terms"],
      "content": "Human-readable agreement description"
    }
  },
  "infrastructure": {
    "provider": "Lightning Enable",
    "website": "https://lightningenable.com",
    "services": [
      "L402 proxy endpoints",
      "Macaroon management",
      "Lightning payment routing",
      "Usage analytics"
    ]
  },
  "pricing_tiers": [
    {
      "name": "Agentic Commerce — Individual",
      "price_usd": 99,
      "period": "monthly",
      "trial_days": 30,
      "transaction_fees": "none",
      "features": [
        "L402 monetization for solo developers",
        "Unlimited Lightning payments",
        "Strike + OpenNode payment providers",
        "L402 producer + consumer tools"
      ]
    },
    {
      "name": "Agentic Commerce — Business",
      "price_usd": 299,
      "period": "monthly",
      "trial_days": 30,
      "transaction_fees": "none",
      "features": [
        "Everything in Individual",
        "Team-scale L402 deployments",
        "Shopify Commerce integration",
        "Priority support"
      ]
    }
  ],
  "pricing_notes": "Flat monthly subscription. Lightning Enable does not hold funds — settlement remains with the merchant's configured payment provider (Strike or OpenNode). No per-transaction fees ever."
}
