Anti-counterfeit provenance for rare whiskey: certificates on IPFS, notarized on Ethereum.
Whiskey Vault is a decentralized provenance and authentication platform for rare whiskies, single malt casks, distillery archives and high-value spirit investments. Counterfeiting is a serious problem in this market. Cask ownership deeds, lab assay certificates, spectrometer fingerprints and bottle serial numbers are usually paper or PDFs that are easy to forge, and a buyer has no way to verify them.
Whiskey Vault fixes that by giving every cask or bottle a cryptographic chain of custody. A distillery or collector signs up, uploads a certificate or deed, and the file is pinned to IPFS. Its content hash, title, description, author, tags, timestamp, and the block and transaction hashes are then recorded on an Ethereum smart contract. Anyone can later search by distillery (Macallan, Springbank, Yamazaki, Bowmore and others), vintage, cask category or blockchain hash. They can open a record and verify that the document is exactly what was registered and when.
Collectors and distilleries get role-based accounts. Buyers, auctioneers and insurers get a public, tamper-evident record they can check without trusting a middleman. The UI uses an amber and aged-oak theme with interactive golden vapors, so it feels like a luxury product and not a block explorer.
Stack: Node.js and Express.js backend serving a REST API (signup, login, upload, search, record lookup, stats, health), with a browser frontend animated with GSAP. Auth uses JWT sessions with bcrypt-salted password hashing and role-based permissions. The whole thing is containerized with Docker and docker-compose, and an automated verification suite runs with npm test.
Smart contract: A Solidity contract (DocumentVault.sol / WhiskeyVault.sol) stores each provenance record on-chain. uploadDocument takes the IPFS CID, title, description, size, timestamp, author, tags, block hash and tx hash. getDocument and getDocumentCount let the app read records back. It targets the Ethereum Sepolia testnet through an Infura endpoint.
Storage and flow: When a certificate is uploaded, the server pins it to IPFS through Pinata, gets back a CID, sends the metadata to the contract, and stores the transaction hash and block confirmation alongside the record. MongoDB Atlas holds the searchable metadata index, and the debounced search UI queries it. The chain and IPFS remain the source of truth.
Hacky bit worth mentioning: I built a triple-fallback architecture so the app works with zero configuration, which matters for judges who just run git clone && npm start. Each external dependency has a local stand-in that activates when its API keys are missing:
MongoDB Atlas falls back to a resilient local JSON ledger. Pinata IPFS falls back to local storage keyed by deterministic SHA-256 multihashes. Ethereum Sepolia falls back to an embedded local cryptographic ledger that mimics block and transaction hashes.
The /api/health endpoint reports which mode each layer is running in, so it’s always clear what is real on-chain and what is simulated.

