A subscription SDK
designed for developers

Customizable subscription SDK. Easy to integrate, secure, and scalable. Build better subscription experiences for your users.

BlockSub Dashboard

Powerful Features

Everything you need to build subscription-based Web3 applications

Wallet & Email Login

Seamlessly connect with Web3 wallets or traditional email authentication.

Privacy-Preserving Identity

Keep user data secure while enabling personalized experiences.

Subscription Management

Create, manage, and track subscriptions with built-in analytics.

Token-Gated Access

Control access to content and features based on subscription status.

Dev-First SDK

Simple integration with comprehensive documentation and examples.

Analytics Ready

Track subscription metrics and user engagement out of the box.

How It Works

Get started with BlockSub in three simple steps and transform your subscription experience

Connect Your Wallet

Link your Solana wallet to authenticate and manage your subscriptions seamlessly.

1

Choose a Subscription Plan

Select from various decentralized subscription tiers tailored to your needs.

2

Access Premium Content

Unlock exclusive, token-gated features and content instantly upon subscription.

3

Simple Integration

Just a few lines of code to add subscription functionality to your application.

blocksub-example.js
// Initialize BlockSub SDK
import { BlockSub } from '@blocksub/sdk';

const blocksub = new BlockSub({
  apiKey: process.env.BLOCKSUB_API_KEY,
});

const subscription = await blocksub.createSubscription({
  customerId: 'cus_123456',
  planId: 'plan_premium',
  billingCycle: 'monthly',
  paymentMethod: 'crypto',
});

const status = await blocksub.getSubscriptionStatus(
  subscription.id
);

console.log(`Status: ${status.active ? 'Active' : 'Inactive'}`);
console.log(`Next billing: ${status.nextBillingDate}`);

Frequently Asked Questions

Have questions about BlockSub? Find answers to common questions below.

Trusted By

Join the growing ecosystem of Web3 applications powered by BlockSub

S
S
O
O
L
L
A
A
N
N
A
A