About
YAM (Yet Another Marketplace) is a decentralized marketplace built on Flow where users can list, buy, and sell products in two modes: Direct Purchase or Raffle-based Sale. The project integrates Self.xyz for identity proofs (uniqueness, nationality, age) so every buyer and seller is a verified human. This ensures trust, prevents bots, and allows sellers to restrict their listings to certain countries if required. Sellers create listings through a simple form capturing item name, description, price, quantity, sale type, deadline (for raffles), and allowed countries. Listings are managed on-chain via Flow smart contracts, ensuring transparency and fairness.
The raffle system contract is central to YAM. Sellers can open raffles where users enter by paying a fee, with funds held in escrow. The contract enforces one entry per verified identity, tracks participants, checks nationality eligibility, and after the deadline, executes pickWinners to determine winners through a transparent randomness mechanism. Winners gain rights to claim or purchase the product, while non-winners are refunded automatically. Events such as RaffleCreated, RaffleEntered, WinnersSelected, and FundsReleased keep the process auditable and UI-friendly.
This design not only supports physical or digital product sales but extends naturally to scarce, high-demand items like concert tickets, sports events, or product launches. Instead of tickets being snapped up by scalpers and bots, organizers can create raffle-based ticket sales restricted to verified fans, ensuring fair distribution. Nationality or age restrictions can also enforce local laws (e.g., alcohol event tickets, regional promotions). The same framework could apply to sneaker drops, limited edition merchandise, or even high-demand subscription slots. By combining identity verification, escrow, randomness, and country-aware access, YAM is not just another marketplace.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






