LCP
Overview

NFT marketplace based on ERC-20,721,6551 with a smart contract to provide Token Bound Account, subscription management, and save important documents in NFT

At A Glance

industry
Industry
Retail & E-commerce
region
Region
Europe
duration
Duration
12 Weeks

Technical Stack

OpenSea
Pinata
AWS EC2
AWS SES
AWS S3
Solidity
Polygon
MySQL
ReactJS
Node.js

Client Profile

The client is a leading blockchain-as-a-service (BaaS) supplier in Europe with an emphasis on scalable NFT marketplaces and enterprise-level blockchain solutions. The client is looking to challenge the use of NFTs by integrating Token Bound Accounts (TBA), enabling NFTs to be dynamic objects with extended ownership and functionality, whereby users can execute certain activities in and on the NFT asset.

The client felt it important to give the end-user a seamless, scalable platform that not only facilitates the purchase of an NFT but also expands the known real-world usage of NFTs, particularly to event passes, document storage, and other authenticated activities.

Challenge

The client wanted to create an innovative NFT marketplace that moved beyond traditional buying and selling of NFTs, focusing instead on functional NFTs with built-in utilities. Their goals included:

1. NFT Wallet Integration

Each NFT purchased on the platform needed to have its own wallet embedded inside it, allowing it to hold both fungible (ERC20) and non-fungible (ERC721/1155) tokens. This concept aligns with the ERC6551 standard for Token Bound Accounts, creating NFTs that act as fully functional accounts themselves.

2. Configuration Drafts

To improve user experience, the platform required a feature to save ongoing NFT configurations as drafts, enabling users to pause and resume their setup without losing progress.

3. Subscription Management

The marketplace needed smart contracts for subscription-based NFTs, with flexible payment options and automatic token distribution over time.

4. Referral Program

To drive growth and user engagement, each NFT owner should be able to generate a unique referral code to invite new users, earn rewards, or share NFTs.

5. QR Code Functionality

Each NFT should have a dynamic QR code that could act as a ticket or pass to an event. This QR code should be viewable as a PDF and/or downloadable to share, and also to use if your event is virtual or in-person.

6. Document NFTs

An added requirement was being able to tokenize personal documents in NFT format in the same way a Soul Bound Token (SBT) does. These document NFTs would need to be stored securely and be accessible only by the owner to ensure privacy and exclusivity. 

NFT Marketplace Developed Using Ethereum and Ploygon

Solution

Seaflux delivered a custom-built NFT marketplace that not only fulfilled all client requirements but also elevated the user experience with cutting-edge blockchain integrations.

1. Token Bound NFT Wallet

  • Developed an ERC721 contract extended with ERC6551 standards, enabling each NFT to function as a wallet with its own unique address.
  • These wallet-enabled NFTs could hold ERC20 tokens, ERC721 tokens, or even other NFTs, unlocking new use cases like NFT bundles, event access tokens, or in-game assets.

2. Subscription Smart Contract

  • Built a subscription management contract where users pay upfront fees (calculated in MATIC at the time of purchase).
  • We put into place a 12-month subscription model that allows users to subscribe for a specific number of tokens and cancel at any time. 
  • Once a user cancels, they will continue to get their tokens; this subscription allows for fair and distributed tokens while providing predictability.

3. Referral Code System

  • Implemented a referral code generation feature using AccessControl contracts, ensuring only NFT owners could generate referral codes.
  • Referral codes could be used by new users for discounted purchases or by existing users to earn rewards.
  • This feature boosted community-driven marketing, encouraging owners to promote the platform.

4. Dynamic QR Codes

  • Designed a dynamic QR code generation system, where each NFT gets its unique QR code that can be:
    • Used as an event pass or digital ticket.
    • Shared as downloadable PDFs or embedded on websites.
  • The QR system was integrated with the blockchain to verify NFT ownership in real time during events.

5. Secure Document NFTs

  • Leveraged IPFS for decentralized storage of documents while maintaining immutability.
  • Integrated Fully Homomorphic Encryption (FHE), ensuring only NFT owners can access and decrypt their stored documents.
  • Transformed NFTs into secure digital vaults for sensitive files like certificates, tickets, and personal IDs.

6. Bulk Upload & Configuration Versioning

  • Implemented a bulk upload feature to let users upload multiple NFTs via .txt configuration files.
  • Introduced version control for configurations, enabling users to reload previously saved setups even if the original file was lost.

Key Benefits

The platform gave users more control, security, and capabilities to offer a new standard in NFT marketplace innovation. It exceeded the collectible space of NFTs to offer real-world utility by using Token Bound Accounts, dynamic QRs, and encrypted document NFTs. Users benefited from enhanced utility, flexibility, and trust, making the marketplace not just a place to buy NFTs, but a platform to manage identity, events, assets, and more through blockchain.

  • 9% increase in NFT listings thanks to the draft-saving feature, which allowed users to experiment and iterate on their NFT configurations.
  • 30% of platform users now store personal documents as NFTs, leveraging FHE-backed security, which has transformed the platform into a trusted solution for secure document storage.
  • Higher user engagement due to QR-code-based event passes and the referral program, which incentivized both new and returning users.
  • Improved brand credibility, as the advanced feature set positioned the platform as one of the few next-generation NFT marketplaces integrating TBAs and secure document storage.  

Develop your next idea with usGet in touch