- Shared state management (workstreams, tasks, agents) - Event logging (append-only JSONL) - Resource locking with TTL - Knowledge base (file-based) - CLI tool for all operations - Cycle runner for planning and briefing sub-agents - Status dashboard Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
800 B
Markdown
25 lines
800 B
Markdown
<!-- Updated by system at 2026-02-06T07:41:48.711Z -->
|
|
# Payment System
|
|
|
|
## Architecture
|
|
- Direct USDC monitoring on Polygon (no third-party gateway)
|
|
- Unique invoice amounts for payment reconciliation
|
|
- Background poller checks every 30 seconds
|
|
- Auto-generates API keys on payment confirmation
|
|
|
|
## Endpoints (SnapAPI)
|
|
- POST /api/subscribe - Create invoice {plan, email}
|
|
- GET /api/subscribe/:id - Check payment status
|
|
- GET /api/pricing - List plans
|
|
|
|
## Plans
|
|
- Pro: $10/mo + offset, 1000 captures
|
|
- Enterprise: $50/mo + offset, 10000 captures
|
|
|
|
## Technical Details
|
|
- USDC contract: 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
|
|
- Wallet: 0x7483a9F237cf8043704D6b17DA31c12BfFF860DD
|
|
- Payment matching: unique cent offsets (0.01-0.99)
|
|
- Tolerance: 0.001 USDC for matching
|
|
- Expiry: 1 hour per invoice
|