DhimanSoft
← All work

Case study

BLK Art Auction

Real-time bidding platform for original artwork

A full-stack auction platform for original artwork, with real-time bid synchronisation, anti-sniping protection, artist onboarding and authentication, and an end-to-end shipping workflow. Stripe handles timed payment windows; row-level locking prevents race conditions under concurrent bids.

  • Next.js
  • Node.js
  • WebSockets
  • PostgreSQL
  • Stripe

The problem

Off-the-shelf auction plugins are built for commodity goods. Art needs trust, scarcity and artist control, which meant three problems had to be solved in the product itself.

  • Last-second sniping

    A bid placed in the final moments should extend the clock, so the auction is decided by interest and not by timing.

  • Artist trust

    Artists need a formal onboarding process, authentication of each work, and a transparent payout schedule.

  • Delivery and custody

    Physical originals need insured, tracked shipping and managed logistics after the sale.

How it is built

  1. Frontend

    Next.js App Router with server rendering and incremental regeneration, laid out for phones first.

  2. API

    Node.js with token or session authentication and rate-limited bid endpoints.

  3. Real-time layer

    WebSockets fan each bid out to every viewer and carry the anti-snipe clock extension.

  4. Database

    PostgreSQL, with optimistic locking to settle bid races.

  5. Payments

    Stripe Checkout with a 72-hour payment window; a webhook triggers the shipping step.

  6. Notifications

    Email for bid alerts, wins and payments, plus link previews and lot sign-ups.

What it does

  • Anti-sniping

    Late bids extend the close time, and every viewer sees the new time at once.

  • Live bid sync

    Bids appear for all viewers as they are placed.

  • Artist onboarding

    A structured application and documentation review before an artist can list.

  • Lot authentication

    Each lot is authenticated and approved before it is scheduled.

  • Stripe payments

    Winners pay through Stripe Checkout inside a timed window.

  • Insured shipping

    Tracked, insured dispatch of the original after payment.

  • Past auction archive

    Final hammer prices stay public.

  • Lot notifications

    Buyers can sign up for alerts on lots they follow.

The hard parts

  • Concurrent bids on the same lot

    A row-level lock and a version counter inside one atomic transaction. A bidder who loses the race gets a conflict response and an “outbid” message.

  • Extending the clock safely

    Close times live on the server and are extended atomically when a late bid arrives, then broadcast to every subscriber.

  • Authentication before listing

    A state machine (application, documentation review, certificate, approval, scheduling) enforced by database constraints, so a lot cannot skip a step.

Decisions we made

  • One lot at a time, to keep the audience's attention on a single piece.
  • The server's clock is the only clock; the countdown in the browser is cosmetic.
  • Stripe Checkout instead of custom card handling, with a scheduled job that cancels unpaid wins.
  • Past auction prices are public, which builds trust with artists and buyers.

Need something built like this?

Tell us what you are trying to build and we will reply with how we would approach it.