Skip to content

couchlabs/couch

Repository files navigation

Couch

Stablecoin recurring payments made easy.

Couch is an offchain orchestrator for SpendPermission-based recurring payments. While SpendPermissions provide onchain authorization primitives, Couch handles the coordination layer: scheduling charges, managing subscription state, processing payments and delivering webhooks to merchants.

What's in this repo

couch/         
├── platform/ 
│ ├── backend/  Offchain orchestrator for recurring payments 
│ └── app/      Main apps for merchants to manage their accounts and subscriptions
├── packages/   SDK 
├── examples/   Usage examples 

Getting started

  1. Install dependencies
bun install
  1. Add your secrets & envs
cp .env.example .env

Configure your environment variables

  1. Start the platform
bun dev 

This will spin up locally database, workers, durable objects, events queues, apis and rpc infrastructure, together with the merchant application to access it. The merchant app should now be available at http://localhost:8000

Stack

Resources

About

Stablecoin recurring payments made easy.

Resources

Stars

Watchers

Forks

Contributors

Languages