Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 1.21 KB

File metadata and controls

15 lines (10 loc) · 1.21 KB
description
Learn how to add streaming subscriptions features to your apps with Superfluid

🔁 Superfluid Subscriptions

Building Subscriptions with Superfluid

When building a subscriptions product on Superfluid, we expect that you’ll need a few things

  1. You’ll need to enable users to create a subscription stream, update that stream if they change their plan, or delete that stream if they opt to cancel -> our widget offers these features off-the-shelf, check out superfluid-checkout-widget.md
  2. You may need to validate whether an address is currently streaming to you, and perhaps get a list of all addresses currently streaming to you -> see #getting-stream-data
  3. You’ll need to know when a user deletes a stream or updates their plan so that you may make the proper changes to their account. -> see #events

There are many ways that this process can be managed, and your implementation will depend on the needs of your users. With that said, here are a few concepts & code examples that should help you in your development.