LuxuryAuthNFT

๐Ÿ’Ž Authenticating luxury goods with NFTs โ€” trust, ownership, and transparency on Ethereum.

LuxuryAuthNFT

Created At

ETHOnline 2025

Project Description

๐Ÿ’Ž LuxuryAuthNFT is a decentralized luxury authentication and ownership verification ecosystem that bridges real-world luxury goods with blockchain technology. Each physical item โ€” whether a designer bag, watch, or sneaker โ€” is paired with a unique Ethereum NFT certificate, ensuring tamper-proof authenticity, transparent provenance, and secure digital ownership.

Built using Solidity, Foundry, and a modern Next.js + TailwindCSS frontend, LuxuryAuthNFT empowers verified brands to mint NFTs for genuine products, while customers can effortlessly validate authenticity by scanning a QR code or entering a product hash. Every NFT stores immutable metadata on IPFS, linking the itemโ€™s details, images, and minting brand on-chain.

The platform features an admin dashboard for brand verification, a minting portal for authenticated product issuance, a public verification page for anyone to check legitimacy, and a My NFTs view for collectors or owners. Designed with security, transparency, and elegance in mind, LuxuryAuthNFT creates a trust layer for the luxury industry โ€” combating counterfeits and redefining product authenticity in the Web3 era.

How it's Made

๐Ÿง  How We Built LuxuryAuthNFT โ€” The Technical Deep Dive

LuxuryAuthNFT was built as a full-stack Web3 project that connects physical luxury goods to on-chain NFT certificates of authenticity. The project combines Solidity, Foundry, Next.js, and IPFS, with a focus on simplicity, security, and elegant user experience.

๐Ÿ” Smart Contracts (Authentication Core)

Written in Solidity 0.8.x, using OpenZeppelinโ€™s ERC721URIStorage and Ownable for safe and modular design.

A verified brand system is implemented using a mapping(address => bool) to restrict minting privileges.

mintProduct() automatically links each product hash to a new NFT and emits a ProductMinted event for easy tracking.

verifyProduct() allows public verification of product authenticity, returning brand and ownership data.

Contracts were deployed via Foundryโ€™s Forge scripts using Infura Sepolia RPC and verified on Etherscan.

๐Ÿงฑ DevOps & Tooling

Foundry handled compilation, testing, and deployments (forge test, forge script).

Broadcast JSON files store deployed addresses for smooth reuse across scripts.

.env variables manage RPC URLs, private keys, and API keys for a secure workflow.

A custom Makefile simplifies routine commands like make deploy, make mint, and make verify.

๐ŸŒ Frontend (Web3 Interface)

Built with Next.js 16 (App Router) and TailwindCSS for a polished, modern UI.

Ethers.js v6 powers contract interactions, reading token data, minting NFTs, and checking authenticity.

Integrated WalletConnect and MetaMask for user wallet management.

A QR scanner (via react-qr-reader) lets users verify physical products instantly by scanning their unique codes.

๐Ÿ—‚ Storage & Metadata

NFT metadata and media are stored on IPFS via Pinata or NFT.Storage, generating permanent content URIs.

Metadata JSON includes product hash, brand, image, verification status, and mint date.

Smart contracts expose these URIs through the tokenURI() function, enabling frontend data retrieval.

๐Ÿ“Š Partner Technologies & Integrations

Infura โ†’ Stable RPC for deployment and read/write operations.

Etherscan API โ†’ Enabled verified smart contract publishing directly via Foundry.

OpenZeppelin โ†’ Provided secure, audited token standards.

IPFS (Pinata/NFT.Storage) โ†’ Guaranteed metadata persistence and decentralization.

โš™๏ธ Hacky / Innovative Details

Implemented a JSON-based deployment tracker (stdJson) to automatically fetch the latest deployed contract for interactions.

Created an on-chain brand whitelist system to manage verified minting privileges โ€” no off-chain DB required.

QR codes generated at mint time link directly to /verify/<hash> pages.

Added lightweight local caching in the verification flow to reduce RPC rate-limit errors during testing.

๐Ÿง‘โ€๐Ÿ’ป Personal Note

This is my first-ever hackathon project, created as part of my ongoing journey into Web3 development. Iโ€™m still in the learning phase, exploring Solidity, Foundry, and full-stack blockchain engineering. While the project is functional, I know thereโ€™s still huge room for improvement โ€” like automating IPFS uploads, optimizing contract gas efficiency, and refining the brand dashboard.

I also used AI tools for minor troubleshooting and documentation polishing, which helped me debug faster and stay focused on learning the core concepts myself.

Building LuxuryAuthNFT taught me a lot about smart contracts, decentralized storage, Web3 tooling, and real-world blockchain usability. Itโ€™s been an incredibly rewarding experience โ€” both as a learning milestone and as a step toward building transparent, trustworthy luxury authentication in the Web3 space.

background image mobile

Join the mailing list

Get the latest news and updates