Blog
/

How we built Mesh

Making Mesh work at scale

What it takes to make Mesh work at scale

The following is by Mesh Frontend Engineer, Balraj A


Building a payments system is hard. Building one that works across 300+ platforms is harder. At that scale, you’re no longer just integrating APIs–you’re designing a system that can survive inconsistency, failure, and constant change.

That was the challenge we faced at Mesh. What started as a series of integrations quickly became something else: a coordination problem across hundreds of systems that were never designed to work together.

In this article, I explain how we approached that problem and what it took to make Mesh work at scale.

The Problem: There’s no “standard” in payments

On paper, integrations sound simple: You connect to a platform and then move money from A to B. In reality, every platform is its own universe with different authentication models, asset representations, failure modes, compliance requirements, and latency and reliability characteristics.

Consider something as simple as a “balance”, which across platforms can mean:

  • Available balance
  • Settled balance
  • Spendable balance (after holds, fees, etc.)

Now multiply this complexity across 300+ platforms and the question becomes obvious: how do you create a system that stays consistent on top of inherently inconsistent foundations?

That was Mesh’s big challenge, and to solve it we approached the problem methodically, breaking it down into five key steps.

Step 1: Standardize everything

Every platform must be translated into a common internal model.

We standardized:

  • Assets: unified representation across crypto and fiat
  • Accounts: consistent structure regardless of provider
  • Transactions: every lifecycle is pending → processing → settled → failed
  • Errors: consistent categorization across all platforms

Without this standardization, logic becomes platform-specific, edge cases explode, and (most importantly) scaling becomes impossible.

Step 2: Build an orchestration layer

Once inputs are standardized, you can start making decisions. Instead of “Send payment via platform X,” the system can determine the best way to move value from A to B.

This introduces:

  • Routing logic: which rail to use
  • Fallbacks: what happens if things fail
  • Optimization: fees, speed, reliability

The orchestration layer is what turns integrations into infrastructure. Without it, you’re just connecting systems, but with it you’re coordinating them.

Step 3: Design for failure

Most systems assume success, but at a certain scale failure is the default:

  • APIs timeout
  • Webhooks arrive late (or never)
  • Balances drift
  • Transactions get stuck

Instead of asking “How do we make this work?” we asked “How do we make this recoverable?”

That meant designing the system so failures were expected, not exceptional. Operations could be retried safely, state could always be reconciled, processes reacted to events rather than requests, and no single error could disrupt the overall flow.

Step 4: Abstract complexity for the user

While the system is complex internally, it must be simple on the outside or the user will drop off.

Users don’t care which chain was used, which provider processed the transaction, or how many steps it took. They just want their payment to go from A to B.

To abstract complexity, the product layer focuses on three things:

  1. Deterministic UX: users always see a predictable, clear experience
  2. Clear states: users know what’s happening even if the underlying system is messy
  3. Fast feedback loops: users get immediate updates, even if final settlement takes longer

This is the point where engineering and product really come together: the goal is to make a complex system feel effortless for the user.

Step 5: Accept the system is never “done”

With 300+ platforms, change is constant. APIs evolve, new assets are added, and regulations shift. The system must be designed to handle this flux. It must be:

  • Modular: integrations can be swapped
  • Extensible: new platforms don’t break existing logic
  • Observable: you know what’s breaking, where, and why

Of all the steps, this one is the hardest. It’s relatively easy to build a system–the challenge is keeping it stable while the world around it keeps changing.

Closing thoughts

At small scale, payments are about moving money. At large scale, they’re about managing uncertainty. The role of infrastructure is to absorb that unpredictability and turn it into something reliable, consistent, and intuitive to the end user.

Building Mesh taught us that the best payment systems aren’t the ones that are fastest or flashiest–they’re the ones that keep working despite thousands of variables that are constantly changing. In other words, reliability is what defines success at scale.

Want more like this? Subscribe to Mesh Weekly.

Related posts

A note from our CEO
May 9, 2026
Mesh x Kalshi Partnership
Bam Azizi on CNBC
May 2, 2026
Mesh on CNBC
Capitol
April 25, 2026
CLARITY Act Explained
Mesh building
April 18, 2026
What We’re Building | April 2026
April 9, 2026
Mesh on CNBC, and the $100T case for tokenization
Crypto Payment Gateways
April 8, 2026
Crypto Payment Gateway APIs Explained
Security
April 4, 2026
How crypto is redefining payment security
business of delay
March 21, 2026
The business of delay
Demystifying the Travel Rule for crypto and stablecoins
March 19, 2026
Travel Rule explained
What We’re Building
March 14, 2026
What We’re Building | March 2026
Word salad
March 7, 2026
Building around ambiguity
Multiple platforms
February 28, 2026
Can't read, won't buy
Banks and crypto
February 21, 2026
Crypto firms race for bank charters
Dials
February 14, 2026
AI needs programmable money
Crypto regulation
February 7, 2026
Q1 2026 regulatory trends
Mesh logo
January 31, 2026
A note from our CEO
Mesh Raises $75M Series C at $1B Valuation
January 27, 2026
Mesh Raises $75M Series C
On-chain loyalty
January 24, 2026
Let’s put loyalty points on-chain
Mesh building
January 17, 2026
What We’re Building | January 2026
Cross-chain bridging in action
January 12, 2026
LIVE: Cross-chain bridging!
Application security
January 5, 2026
The new rules of application security
2026
January 3, 2026
Our 2026 predictions
2025
December 20, 2025
2025: A year in review
Paxos x Mesh
December 15, 2025
Mesh Partners with Paxos
Liquidity
December 13, 2025
The future is liquid
Mesh building
December 5, 2025
What We’re Building | December 2025
Mesh x Coverd
December 5, 2025
Mesh Partners with Coverd
UK flag
November 29, 2025
Inside the UK’s new stablecoin framework
User knowledge
November 22, 2025
How to build “deep” user knowledge
Crypto tokens
November 15, 2025
Savviness ≠ spending frequency
Mesh building
November 8, 2025
What We’re Building | November 2025
Crypto onboarding
November 1, 2025
Onboarding is the real conversion bottleneck
Regulations
October 25, 2025
Q4 regulatory trends
Verification
October 18, 2025
AML/KYC is broken
Mesh building
October 11, 2025
What We’re Building | October 2025
Agentic payments
October 4, 2025
Where crypto and AI converge
Modern customer success
September 27, 2025
The future of customer success
AI and crypto converging
September 20, 2025
Introducing Mesh Wallet
Mesh is building
September 13, 2025
What We’re Building | September 2025
Crypto ecosystem
August 30, 2025
Fragmentation is a feature
Mesh engineering team
August 28, 2025
Engineering onboarding that works
Puzzle piece
August 23, 2025
What's needed for stablecoin adoption
Levl x Mesh
August 21, 2025
Mesh Partners with Levl
RedotPay x Mesh
August 13, 2025
Mesh Partners with RedotPay
Ripple x Mesh
August 12, 2025
Mesh Partners with Ripple
Trump's crypto report
August 9, 2025
Breaking down Trump's crypto report
Mesh x AEON
August 4, 2025
Mesh Partners with AEON
Indian flag
July 26, 2025
Mesh opens Bangalore office
Gabriele Galli at ETHMilan
July 19, 2025
Mesh world tour
Crypto wallet
July 12, 2025
Gen Z's growing influence
Stablecoins used for corporate treasury management
July 5, 2025
CFOs like stablecoins
Stablecoin adoption
June 28, 2025
Stablecoins are the new money layer
Mesh UX screens
June 21, 2025
How design builds trust
Senate floor
June 18, 2025
GENIUS Act Explained
Stablecoin Market Map
June 2, 2025
Stablecoin ecosystem's explosive growth
Different types of stablecoins
May 28, 2025
Stablecoins are transforming corporate treasuries
Mesh CEO Bam Azizi on Fox News
May 20, 2025
Stablecoin bill clears major hurdle
Mesh Raises $82M Series B
March 11, 2025
Mesh Raises $82M Series B
Shift4 + Mesh
October 28, 2024
Mesh Partners with Shift4
MetaMask and Mesh
September 17, 2024
MetaMask and Mesh Deepen Partnership
Mesh Verify screen
August 7, 2024
Crypto Wallet Identity Verification: How It Works
User attestation screens
August 1, 2024
User Attestation
Satoshi Test screen
July 30, 2024
Satoshi Test
Mesh Verify Screen
July 22, 2024
Mesh Verify
Converts screen
July 8, 2024
Converts
Mesh Payout Screen
June 27, 2024
Mesh Payout
Mesh Ramp Screen
April 29, 2024
Mesh Ramp
Mesh and MetaMask partnership image
April 16, 2024
Mesh and MetaMask Formalize Partnership
Mesh Pay Screen
April 1, 2024
Mesh Pay
Mesh Deposit screen
February 27, 2024
Mesh Deposit