Repository navigation
Releases
Releases · SubPath-Protocol/subpath-app
v0.2.0 - Resilient Daemons, Reconciliation & Security Release
SubPath Application & Infrastructure v0.2.0
Comprehensive resilience, daemon fault-tolerance, and security release following engineering recovery:
Indexer Resiliency
- Fixed cursor advancement defect: RPC failures preserve durable cursor in PostgreSQL, halting unsafe advancement.
- Bounded batch querying (MAX_LEDGER_BATCH = 100) with continuation cursor pagination and retention gap detection.
- Atomic Prisma transactions pairing domain updates with event tracking.
- Dead-letter handling for malformed ScVals.
Executor Idempotency & Reconciliation
- Eliminated double-billing hazard via pre-flight authoritative chain verification (getSubscription).
- Immediate PENDING attempt persistence before confirmation polling.
- Safe lock retention on RPC timeout.
- Background & startup transaction reconciliation against Stellar RPC.
- Exponential backoff dunning retry for failed recurring charges.
Security & Features
- Upgraded Next.js to 16.4.5, eliminating security vulnerabilities.
- Added merchant webhook notification dispatcher with HMAC-SHA256 signatures and retry backoff.
- Added mobile responsive subscription drawer and dashboard layout.
- Monorepo test suite expanded from 24 to 45 automated tests (100% passing).
v0.1.0 - SubPath Application & Infrastructure (Testnet Release)
SubPath Application & Infrastructure v0.1.0 Release Notes
Release Date: 2026-10-08
Repository: SubPath-Protocol/subpath-app
Network: Stellar Testnet (Test SDF Network ; September 2015)
Production URL: https://subpath-app.vercel.app
License: MIT
Overview
SubPath v0.1.0 provides the full-stack application layer, client SDK, and background automation services supporting the SubPath recurring payments protocol on Stellar Soroban. The stack includes a Next.js 16 web application, a TypeScript SDK, an event indexer daemon backed by Neon PostgreSQL, and an autonomous billing executor daemon.
Verified Deployments & Infrastructure
- Production Web URL: https://subpath-app.vercel.app
- Testnet Contract ID:
CC4ZFZ64RQ6CG3PTBNDB4A6YB7SJEW2NZ56YNNBBZVC7HDQTNIKWLUV3 - Database: Neon Serverless PostgreSQL with Prisma ORM
- Hosting: Vercel (monorepo build pipeline configured via
vercel.json) - Verification Evidence:
What is Included
@subpath/sdk: Client SDK providing type-safe abstractions for plan creation, subscriptions, and billing queries.apps/web: Web application featuring Merchant Dashboard (/dashboard) and public hosted subscription checkout pages (/plans/[planId]).- Multi-Wallet Support: Full integration with
@creit.tech/stellar-wallets-kit, enabling Freighter (browser extension), Albedo (zero-install web popup on mobile and desktop), xBull, Lobstr, Rabet, and Hana. apps/indexer: Background event streaming daemon continuously syncing Soroban ledgers into PostgreSQL with idempotent cursor state.apps/executor: Autonomous billing relayer daemon querying due subscriptions and submitting permissionlessexecute_billingtransactions.- Cloud Daemon Deployment: Turn-key Docker configurations (
Dockerfile.indexer,Dockerfile.executor),docker-compose.yml, andrender.yamlblueprint for 24/7 cloud worker deployment. - Automated CI Validation: Monorepo GitHub Actions pipeline verifying linting, typechecking, tests, and production builds.
Verification Evidence & Documentation
- README.md: Project overview and quick start.
- Architecture Guide: Monorepo structure, data flows, and component responsibilities.
- Infrastructure Design: Schema definitions, indexer cursor design, and executor logic.
- Operations Runbook: Environment configuration, daemon run commands, and health checks.
- Deployment Verification: Evidence of Vercel production deployment and live route tests.
- Testnet Lifecycle Verification: Evidence of on-chain plan creation, allowance approval, recurring billing, and cancellation.
- Changelog: Historical change records.
Security & Audit Status
- Status: Prototype MVP.
- Network: Configured for Stellar Testnet.
- Non-Custodial: The web app never accesses user private keys. All signing occurs securely in client wallets.
- Mainnet Caution: The application and contracts are not audited for Mainnet financial deployments.
- Vulnerability Reporting: Report security findings privately to
security@subpath-protocol.com. See SECURITY.md.
Upgrade & Setup Notes
- Local Development: Run
pnpm install,pnpm --filter @subpath/sdk build,pnpm db:generate, andpnpm --filter web dev. - Database Setup: Configure
DATABASE_URLand push Prisma schema migrations viapnpm --filter indexer db:push. - Daemon Execution: Background services run via
pnpm --filter indexer startandpnpm --filter executor start.