Skip to content

SubNFT is an open-source tool for issuing time-locked subscription NFTs. It allows creators to gate access to GitHub repos and content based on NFT ownership. When the subscription period ends, access is revoked automatically, providing developers with a decentralized, recurring revenue model.

License

Notifications You must be signed in to change notification settings

MDTechLabs/SubNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

SubNFT: The Subscription NFT Engine

License: MIT Ecosystem: Stellar/EVM Model: Recurring Revenue

SubNFT is a protocol-agnostic engine for creating time-locked, subscription-based NFTs. Designed specifically for open-source developers and researchers, SubNFT provides a sustainable revenue model by turning digital assets into expiring access keys.


1. Executive Summary

One-time NFT sales rarely support long-term maintenance. SubNFT introduces Time-Locked Metadata. Developers can issue NFTs that grant access to private GitHub repositories, specialized documentation, or premium Discord channels for a specific duration. Once the "subscription" period ends, the NFT metadata dynamically updates to a "revoked" or "expired" state until a renewal payment is made.

2. The Problem

The "Starving Developer" problem is real in Web3:

  • One-and-Done Revenue: Standard NFTs provide a burst of initial liquidity but no recurring support for maintenance.
  • Proprietary Gating: Existing subscription tools are often "Black Box" solutions that take high platform fees (10-20%).
  • Complexity: Setting up an expiring access system requires complex smart contract logic that many developers don't have time to build.

3. Key Features

  • ⏳ Time-Locked Metadata: NFTs that "expire" on-chain, triggering a change in access rights across integrated platforms.
  • πŸ”“ Decentralized Gating: Native integrations for GitHub (via GitHub Apps) and Discord (via Bot) to automate member management.
  • πŸ”„ Auto-Renewal Logic: Optional smart contract hooks that allow users to "top up" their NFT duration using stablecoins.
  • 🌌 Multi-Chain Support: Optimized for Stellar/Soroban (using Contract Storage) and EVM (using EIP-5643 or similar standards).

4. Roadmap for this Wave

  • Phase 1: Core Subscription Smart Contract for Soroban and Solidity.
  • Phase 2: Launch the "Access Watcher" serviceβ€”a middleware that checks NFT expiration before granting GitHub/Discord access.
  • Phase 3: Create a No-Code Dashboard for developers to launch their own Subscription NFT collections.

5. Why SubNFT belongs in Drips Wave

SubNFT is a Sustainability Tool for the public good.

  • Empowering Creators: We provide the infrastructure for developers to fund their own work independently.
  • Sustainability: We use Drips to stream 15% of our funding back to the NFT metadata standards and decentralized storage providers (like IPFS/Arweave) we utilize.

πŸ›  Project Structure (Monorepo)

SubNFT/
β”œβ”€β”€ contracts/
β”‚   β”œβ”€β”€ soroban/       # Rust-based subscription logic
β”‚   └── evm/           # Solidity (EIP-5643) implementation
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ dashboard/     # UI for creators to manage subscriptions
β”‚   └── watcher/       # Middleware for GitHub/Discord gating
β”œβ”€β”€ libs/
β”‚   └── metadata/      # Logic for generating expiring JSON metadata
└── LICENSE            # MIT Licensed

About

SubNFT is an open-source tool for issuing time-locked subscription NFTs. It allows creators to gate access to GitHub repos and content based on NFT ownership. When the subscription period ends, access is revoked automatically, providing developers with a decentralized, recurring revenue model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published