Quickstart

Integrate wallet‑native subscriptions in minutes.

Create a plan

// pseudo example
POST /api/plans
{
  "name": "Pro",
  "priceUSD": 10,
  "interval": "monthly"
}

Add the button

<script src="dripflow.js"></script>
<button id="subscribe">Subscribe with Wallet</button>
<script>
  DripFlow.subscribe({ planId: "pro-monthly" })
</script>

Concepts

  • Allowance approval: user authorizes a monthly spend cap
  • Pull cycle: backend relayer triggers transfers
  • Revoke: user cancels by revoking allowance
  • Chains: start on Polygon/Base, optional Solana

Next steps

Deploy the example contract, set your USDC address, and connect your dashboard.

Download contract Read the README