Skip to content
@nftSub

nftSub

nftSub Logo

nftSub

The Web3 Subscription Platform

Build recurring revenue streams with NFT-based subscriptions powered by Reactive Network

Smart Contracts TypeScript SDK Documentation

Live on Mainnet

What is nftSub?

nftSub revolutionizes subscription services on blockchain by combining NFTs with automated recurring payments. Each subscription is represented as a transferable NFT, enabling new business models and secondary markets for subscription access.

Architecture

graph LR
    A[User] -->|Subscribe| B[Smart Contracts]
    B -->|Mint NFT| C[Subscription NFT]
    B -->|Schedule| D[Reactive Network]
    D -->|Auto Renew| B
    B -->|Payment| E[Merchant]
    C -->|Access| F[Service]
Loading

Repositories

Core smart contracts implementing the subscription logic

  • ERC-721 NFT subscriptions
  • Automated payment processing via Reactive Network
  • Multi-token payment support (ETH & ERC-20)
  • Merchant management system

TypeScript SDK for seamless integration

  • React hooks for subscription management
  • Pre-built UI components
  • Comprehensive TypeScript support
  • Event monitoring and analytics

Documentation and demo application

  • Interactive demos
  • Integration guides
  • API documentation
  • Component playground

Key Features

  • NFT-Based Subscriptions: Each subscription is a tradeable NFT
  • Automated Renewals: Reactive Network handles recurring payments
  • Multi-Token Support: Accept ETH and any ERC-20 token
  • Analytics Dashboard: Track subscription metrics and revenue
  • Secure & Decentralized: Built on Ethereum with best practices
  • Easy Integration: Full SDK with React hooks and components

Quick Start

# Install the SDK
npm install @nft-sub/sdk

# or with pnpm
pnpm add @nft-sub/sdk
import { SubscriptionSDK } from '@nft-sub/sdk';

const sdk = new SubscriptionSDK({
  chain: 'sepolia',
  walletClient: walletClient
});

// Subscribe to a merchant
const txHash = await sdk.subscribe(1n, 'ETH');
// or with ERC-20 token
const txHash = await sdk.subscribe(1n, '0x...');

Live Deployments

Sepolia Testnet

  • SubscriptionNFT: 0x404cb817FA393D3689D1405DB0B76a20eDE72d43
  • SubscriptionManager: 0x82b069578ae3dA9ea740D24934334208b83E530E
  • SubscriptionReactive: 0xa55B7A74D05b5D5C48E431e44Fea83a1047A7582

Use Cases

  • SaaS Platforms: Subscription-based software services
  • Content Creators: Exclusive content access
  • Gaming: Battle passes and premium features
  • DeFi Protocols: Premium analytics and tools
  • DAOs: Membership and governance access
  • NFT Collections: Recurring utility access

Contributing

We welcome contributions! Check out our repositories for:

  • Smart contract improvements
  • SDK enhancements
  • Documentation updates
  • Bug fixes and features

Documentation

Visit our documentation site for:

  • Getting started guides
  • API references
  • Integration examples
  • Best practices

Links

License

All nftSub projects are MIT licensed.


Built for the Web3 community

Popular repositories Loading

  1. nftSub-contracts nftSub-contracts Public

    Smart contracts for nftSub - Web3 subscription platform with Reactive Network integration

    Solidity

  2. nftSub-sdk nftSub-sdk Public

    TypeScript SDK for nftSub - Easy integration with Web3 subscription platform

    TypeScript

  3. nftSub-frontend nftSub-frontend Public

    Documentation and demo site for nftSub subscription platform

    TypeScript

  4. .github .github Public

    Organization profile and community health files

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…