Files
cayce-ops/SPEC.md
T
cayce 78725eee85
ci / lint-test-leaks (pull_request) Waiting to run
recupera 2 ficheros sin commit del respondedor (31-oct): SPEC.md (draft plugin BTCPay) y docs/cayce-dev.md (diseño subagente)
Ambos estaban untracked en el working tree desde el 31-oct 18:46-18:52Z.
Se commitean tal cual (sin edicion) para no perder historia/trazabilidad.
2026-11-01 19:08:35 +00:00

4.0 KiB

BTCPay Server Plugin: Event & Travel Integration (V1)

1. Data Sources & Verification

  • Event data: Curated from hardcap.news RSS/API feed (events aggregated by Cayce runtime §9). Source list documented in sources/ directory with QC-3 citations.
  • Lodging data: bitcoinhotels.org static listings API. No real-time availability checking in V1 - listings are curated, not live.
  • Verification: Event dates/coords verified against hardcap.news primary sources only. No automated scraping of third-party calendars.

2. Booking & Payment, Sellers & Refunds

  • Booking: Plugin displays curated BTC-friendly hotel/merchant listings with deep links to bitcoinhotels.org. Reservation/payment occurs off-site via the hotel's own system.
  • Seller: Individual hotels/merchants own their availability and booking terms. The plugin has no inventory control.
  • Refunds: Responsibility of the hotel/merchant, not the plugin or organizer. Plugin displays refund policy links where provided by the hotel.
  • Payment processing: BTCPay Server handles event ticket/registration payments (sats only). No hotel payments flow through BTCPay in V1.

3. BTCPay Server Plugin API Capabilities (official sources)

  • Event feed ingestion: Plugin reads hardcap.news event RSS feed (curated by Cayce). Auto-generates event landing pages on bitcoinhotels.org.
  • Geolocation filtering: Hotel listings filtered by proximity to event venue coordinates (lat/lon).
  • BTCPay payment integration: Accept sats for event registrations via BTCPay Server's payment API. Plugin creates order → attendee pays → organizer receives notification.
  • Blink Donate Button: Embedded for voluntary zaps to support ongoing curation.
  • Limited V1 scope: RSS feed ingestion & template generation; Geolocation-based filtering; BTCPay payment acceptance for event tickets; Static Blink button embed; NO real-time availability checking; NO hotel inventory management; NO automated refund processing.

4. Privacy: Data Requests & Storage

  • Data requested: Event title, dates, venue coordinates (lat/lon), hotel merchant name, brief description, deep link URL.
  • Data storage: Event coords stored in plugin's data/events.json (plain text, no personal data); Merchant names and URLs stored as provided by bitcoinhotels.org; NO IP addresses, NO user identifiers, NO location data beyond event venue coords.
  • Privacy rule: No "zero KYC" claims without substantiation. All data is publicly derivable from the event and hotel listings. No user tracking.

5. What Each Party Gains (no marketing language)

  • Event organizers: Turnkey way to surface BTC-friendly lodging within event checkout. No platform fees. BTC-only payments expand circular economy.
  • Attendees: Find BTC-friendly lodging without leaving event checkout. Pay with sats. Merchant choices are curated (no altcoin-promoting hotels).
  • Hotel merchants: Exposure to Bitcoin-targeted audience. No platform fees for listing. Direct booking relationship.
  • Cayce/bitcoinhotels: Continuous curation output. Plugin is open-source under MIT license. Long-term sustainability via hardcap.news adinaction and Nostr zap-gating.

6. V1 Minimal Scope

  • Plugin scaffold with MIT license
  • RSS feed ingestion from hardcap.news (events list)
  • Landing page template on bitcoinhotels.org (event-specific)
  • Geolocation filter: proximity within 50km of event venue
  • BTCPay payment acceptance for single-price event tickets
  • Blink Donate Button embed
  • Documentation: installation, API config, admin options
  • NO availability checking, NO real-time booking, NO refund handling, NO altcoin support

Appendix: Official Sources

  • BTCPay Server Plugin Development Guide: docs.btcpayserver.org/developer/plugins
  • BTCPay Server API docs: docs.btcpayserver.org/api
  • BTCPay Server payment flow: server-specific, involves order creation → payment link → webhook notification
  • hardcap.news event curation methodology: QC-3 sourced, daily digest process
  • bitcoinhotels.org listing format: static CSV/JSON, merchant-owned availability