One marketplace to
source dirt, book haulers
and settle payments.

A marketplace and heavy hauling platform that connects contractors,
excavators, landscapers and builders with certified dump truck haulers,
replacing phone calls and paper tickets with smart matching, one checkout
and live trip tracking.

dirt xchange hero dashboard
Project Overview

Bringing a phone and paper
industry online

TheDirtXchange is an industrial marketplace and heavy hauling logistics
platform engineered to solve the coordination, pricing and spatial challenges
of bulk construction material exchange.

It connects commercial earthwork contractors, excavation operators,
landscapers and residential builders with certified dump truck haulers and
fleet owners, so finding material, booking a truck and paying for both
happen in one place

Client

The Dirt Xchange

Domain

Heavy Hauling Logistics

Tech Stack

Next.js 15
TypeScript 5.7
PostgreSQL 14
Stripe Connect
TypeORM
Next.js 11
Redis

Services

Product Design / UIUX
Backend Development
API Integrations
dirt xchange showcase bg
dirt xchange showcase dashboard
The Problem Space

Moving dirt was costly, slow and
run on phone calls

In bulk earthwork, moving dirt often costs more than the soil itself. Coordinating excavation supply with
dump truck availability traditionally relied on phone trees, word of mouth, and paper tickets

dirt xchange icon truck

Prohibitive Hauling Economics

Moving heavy dirt beyond 20 to 25 miles quickly
costs more than the soil itself. Contractors relied
on phone calls and paper tickets while
struggling to match exact yardage and soil
specs nearby.

dirt xchange icon security

Site Security & Material Mismatches

Structural fill cannot be replaced with soft clay,
and landscaping requires clean topsoil. Yet
publishing exact job-site addresses online
exposes active excavation sites to illegal
dumping and equipment theft.

dirt xchange icon rain

Split Deals & Rain-Out Disputes

Buying dirt from a seller and hiring a dump truck
driver as two separate transactions caused
stranded piles, simultaneous double-selling, and
hours of manual math when weather stopped
hauling mid-day.

The Solution

Three systems working as one platform

Each system removes a step that used to happen over the phone, so a contractor can
go from finding soil to a delivered load without leaving the platform.

01. Smart Matching & Location Privacy

Contractors need to browse nearby soil inventory without broadcasting
exact job-site addresses prior to payment.

Address Privacy Shield

Public map pins apply a permanent ~0.5-mile coordinate offset so buyers gauge proximity while
street addresses, place IDs, and gate codes remain locked until checkout is confirmed.

Two-Step Fast Radius Search

Bounding-box pre-filtering narrows listings before computing exact driving mileage across a
200-mile radius, keeping cached Redis map queries under 15 ms.

100-Point Compatibility & Alerts

New posts score automatically across soil type, volume, distance, budget, and urgency.
Matches scoring 20+ points trigger instant email and SMS notifications.

02. Unified Checkout &
Multi-Party Payouts

Buyers purchase bulk material and hire a certified hauler in a single credit card
transaction under two minutes—backed by independent backend ledgers.

Automatic Weather & Partial Refunds

If rain halts a 5-load excavation after 2 loads, the platform refunds the 3 undelivered hauls plus
proportional 5% fee while preserving the seller’s material payout.

Stripe Connect & Yard Subscriptions

Haulers and yards receive direct bank payouts, payout schedules, and tax forms via Stripe
Express, alongside Free (1 listing), Premium (3), and Pro (10) yard plans.

20-Minute Checkout Holds

Initiating checkout places an immediate database reservation on the soil pile, preventing two
contractors from purchasing the same physical inventory simultaneously.

03. Driver Dispatch &
Four-Step Tracking

A dedicated Hauler Workspace replaces constant check-in phone calls with
verified fleet profiles, safety checklists, and four-tap trip progres

Verified Fleet & Compliance

Every hauler profile specifies truck classes (standard, semi, end dump, belly dump, flatbed), daily load
limits, and verified commercial CDL and insurance documents.

Empirical On-Time Ratings

Actual arrival timestamps and average minutes per load feed transparent reliability
scores on every driver’s public profile.

48-Hour Auto-Escrow Return

If a hauler fails to accept a job request within 48 hours, an automated background worker
cancels the booking and refunds 100% of buyer funds immediately.

How a typical order works,
one step at a time.

From finding soil on the map to the driver’s payout, here is what
happens to a single order, including what happens when nobody
answers.

STEP 1

Soil Discovery & Hauler Selection

A buyer locates compatible fill on the privacy-shifted map within a 200-mile radius and
pairs with a nearby certified hauler.

STEP 2

Unified Checkout & 20-Minute Hold

The buyer pays for dirt and delivery in one credit card transaction. A 20-minute database
reservation locks the pile while escrow secures the funds.

dirt xchange step dashboard
STEP 3

Instant Dispatch Alert & Gate Code Unlock

The hauler receives an immediate Twilio SMS and email alert, reviews quarry safety
checklists and the newly unlocked gate code, and accepts the job.

STEP 4

Four-Tap Milestone Tracking

On delivery day, the driver taps through En Route, At Pickup, Hauling, and Delivered—
giving site managers live visibility without check-in calls.

STEP 5

Automated Split Bank Payouts

Once delivery is signed off, Stripe Connect releases independent material and hauling
payouts directly to the seller and driver bank accounts.

STEP 6

48-Hour Escrow Refund Protection

If a driver does not respond within 48 hours, an automated background worker cancels
the pending booking and refunds 100% of buyer funds immediately.

Business Impact

Project results.

Fast map browsing

Queries load in under 15
milliseconds across entire states.

Accurate soil matches

Buyers and sellers paired on true
compatibility and driving
distance, not vague keywords.

Zero double bookings

Database holds stop two people
checking out the same material.

Safe escrow

Unaccepted bookings are
refunded in full after 48 hours.

Full driver compliance

Verified commercial licenses and
insurance on file before taking jobs.

Transparent progress

Four milestones give everyone
peace of mind while trucks move.

Easy weather refunds

Partial deliveries settle fairly and
automatically, no spreadsheets or
disputes.

Private by default

Exact addresses stay hidden until a
job is paid and confirmed.

Key takeaways and lessons
learned

What building a marketplace for a physical,
heavy product taught us.

01

Privacy and discovery can work together

Hiding job sites ruins the map, while exact addresses create safety problems.
A half mile shift on public pins lets contractors browse nearby supply and
keeps private addresses safe until payment.

02

Database holds are essential for real materials

Two buyers cannot both own one pile of dirt. Database level checkout holds
make sure that once someone starts paying, nobody else can buy it out
from under them.

03

Split orders need separate ledgers

One charge keeps checkout simple, but tracking material and hauling
separately lets a weather cancellation refund delivery without cancelling the
material purchase.

04

Simple status steps replace phone calls

Most arguments between contractors and drivers come down to
communication gaps. Four simple buttons create a clear record of when
work happened.

05

Mobile users need grace periods

Drivers often work in rural areas with weak signal. A 60 second network retry
grace period stops users from being logged out when the signal drops.

Building a marketplace, logistics
workflow, or AI-native platform?

We partner with founders and industrial operators through our Double Diamond process
and weekly product demos to ship reliable, production-grade software.

Case Studies.

Hey Ya’ll! 

What Are We Shaping Today?

    Area of Interest




    $10K