finds.dev

ashleshsortee/festival-marketplace

An end-to-end blockchain based NFT platform for festival ticket booking and ticket reselling between trustless parties.

View on GitHub

★ 130JavaScriptupdated Mar 2021

// the take

A blockchain ticketing demo where festival tickets are ERC721 tokens paid for with a custom ERC20 (FEST), with resale capped at 110% of purchase price enforced on-chain. It's aimed at developers learning dApp architecture or exploring anti-scalping mechanics, not at anyone trying to actually run a festival.

The 110% resale cap enforced inside secondaryTransferTicket() is a genuinely interesting mechanic — it solves scalping at the contract level instead of as a UI-only policy that a user could bypass by hitting the contract directly. The contract split (FestToken, FestivalNFT, FestivalMarketplace, FestiveTicketsFactory) keeps payment logic, NFT logic, and escrow/approval logic separate instead of one monolithic contract. The whole stack — Ganache chain, Truffle migrations, and the React client — comes up with a single docker-compose, so the local dev loop is reproducible.

There are no tests at all; the README's own roadmap still lists 'add unit test cases covering all the scenarios' as unfinished work, which is a real problem for contracts that move both tokens and ownership of a tradeable asset. No audit and no mention of reentrancy guards — purchaseTicket() and secondaryPurchase() both do a token transfer followed by an NFT transfer in the same call, which is exactly the shape that gets exploited if checks-effects-interactions isn't followed. Everything here only targets a local Ganache chain; there's no testnet or mainnet deployment, so the gas costs and price-cap logic have never been exercised against real network conditions. The project has had no commits since March 2021, and it's built on Truffle/ganache-cli, both of which Consensys has since discontinued in favor of Hardhat/Foundry, so getting this to even compile today means fighting dead tooling first.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
130
Forks
49
Language
JavaScript
Last commit
10 Mar 2021

// nearby

If festival-marketplace isn't quite it.

All repos →