🧠 About the Project: AuthNFT 🌟 Inspiration

I’ve always been fascinated by how often counterfeit goods slip into resale markets — even with platforms built around “authenticated” items. After digging deeper, I learned that counterfeit goods make up nearly $470B of global trade, and that marketplaces like StockX still rely on repeated manual verification for every resale cycle.

This led me to a simple insight:

If an item is authentic once, why can’t that authenticity follow the item forever?

That sparked the idea for AuthNFT — a system where trusted verifiers mint 1-of-1 NFT authenticity certificates that permanently act as digital passports for physical goods.

🏗️ How I Built It

Tech Stack: Solana • Anchor • Rust • Metaplex • Next.js • TypeScript • Vercel

🔹 Smart Contract (Anchor + Rust)

I built a Solana program that allows only verified authenticator wallets to mint NFTs. Each NFT includes:

Product ID

Brand

Category

Metadata URI

Timestamp

I integrated the Metaplex Token Metadata program so the certificates follow the NFT standard used across the Solana ecosystem.

🔹 Web App (Next.js + Solana Wallet Adapter)

I created a frontend dashboard where:

Authenticators can mint certificates with item details

Users can connect their wallet and see the certificates they own

NFTs transfer between wallets, simulating resale

I deployed the frontend to Vercel for fast access and easy testing.

🔹 Devnet Deployment

The entire system is deployed on Solana Devnet. All minting and transfers are live, using real wallets and real on-chain instructions I implemented.

📚 What I Learned

Building AuthNFT taught me:

How to create secure, permissioned smart contracts with Anchor

How to mint NFTs with full metadata and master edition accounts on Solana

How to structure a blockchain-backed SaaS B2B workflow

How to bridge on-chain logic with a polished React/Next.js UI

How authentication companies think about provenance, trust, and fraud

It also pushed me to understand how real-world items can be tied to digital identities.

🚧 Challenges I Faced 🔐 Getting Permissioned Minting Right

Enforcing that only approved verifiers can mint certificates required careful account constraints and PDA handling.

🪪 Correct Metaplex Metadata

Master Edition + Metadata PDAs were tricky to get working consistently within Anchor.

🌐 On-Chain ↔ Frontend Integration

Handling asynchronous wallet connections, dynamic PDAs, and error handling on Solana took debugging and iteration.

⚡ Solana Development Workflow

Managing anchor builds, devnet deployments, and RPC quirks was a big part of the challenge.

⏱️ Solo Development

Building a full-stack system — smart contract, API logic, UI, business narrative — on my own forced me to move fast and stay focused.

Built With

  • anchor
  • javascript
  • metaplex-token-metadata-program
  • mocha
  • next.js
  • react
  • rust
  • solana
  • solana-wallet-adapter
  • solana-web3.js
  • spl-token
  • supabase
  • tailwind-css
  • typescript
Share this project:

Updates