Menu

1 / 2

Dev Journal — Building a Non-Custodial Token Tool on Solana

DEV Community·john Smith·6 months ago
#WWoXtt29
#api#architecture#devjournal#web3#sometimes
Reading 0:00
15s threshold

john Smith

Day 3

Added a proxy layer for external calls.

Everything goes through backend now:

DEX interactions
quotes
token stuff

Why
Didn’t want the frontend juggling 5 APIs directly.

Problem
External APIs are unreliable.

Sometimes:

random 500
sometimes 429
sometimes just empty responses

Decision
Centralize everything in the proxy and handle retries there.