<!-- Markdown copy of https://badsoul.studio/work/crypto-trading-platform/ for AI agents. Full site in one file: https://badsoul.studio/llms-full.txt -->

# The first build and infrastructure of a crypto platform that has had 22,000 users online at once

I built the first version, the website, the Android app and the infrastructure of a client's crypto trading platform. At its peak it has had 22,000 users online at the same time, and I still run its security every month.

- Client: Name withheld

- Sector: Crypto trading platform

- Status: Live, monthly security

- What I did: First version, Web app, Android app, Staff admin, Infrastructure, Crypto payments, Security, Incident response

- Built by: [BadSoul Studio](https://badsoul.studio/about/), Benidorm, Spain

- 22,000Users online at the same time, at its peak2026
- 2Platforms: web app and Android app2026
- 24/7Live trading, deposits and withdrawals2026
- Same dayFrom attack traced to weakness closed and verified liveJuly 2026
- 1 minuteRollback window when the site moved to a global edge network20 July 2026
- 78Linked accounts flagged for review during the attack investigationJuly 2026

## The challenge

The client runs a crypto trading platform where people deposit funds, follow trades and withdraw their balance. Money moves through it every hour of the day, which makes it a target: every flow has to be correct, fast and hard to abuse.

It had to work on the web and as an Android app, credit crypto deposits automatically, and stand up to people actively trying to break in.

In July 2026 three things hit at once: a hosting outage, an attack on user accounts and an update that left some users on a black screen after login. Each had to be fixed without stopping deposits, trading or withdrawals.

## What I did

- **Copy trading on the web and Android**: Users fund a balance and follow traders. When a trader's position closes, the result reaches every follower's balance, with trader commissions and referral bonuses handled by the platform. The same account, balance and trading view work on the web and in the Android app, which shipped two releases in July 2026.
- **Crypto deposits that credit themselves**: Deposits are paid as crypto invoices and credit automatically once the payment provider confirms them. Every payment notification is cryptographically signed and checked, anything unsigned is refused, and calls to the provider go through a small relay with its own access check and rate limit.
- **A staff list for the deposits nobody completes**: Some deposits a payment provider never finishes on its own, such as a second payment to the same invoice or the wrong coin sent. I built a staff view that finds both by comparing the provider's records with the platform's own, lets staff mark each one resolved, and only scans new payments so it stays fast.
- **Layered account security**: Two-factor sign-in by SMS or authenticator app, an email code on every withdrawal, an email alert when a new device signs in, and database rules that stop any user from raising their own rights, touching balances or reading another account.
- **Risk and fraud monitoring**: A staff page that surfaces suspicious accounts and sign-ups linked by the same patterns, next to the list of deposits that need a person.
- **Moved to a global edge network**: After a provider outage in July 2026 I moved the site to a global edge network. The new build was checked to match the live one byte for byte, every security header was carried over exactly, and the switch on 20 July had a one-minute way back. Payments stayed on their own server, untouched.
- **Fixed the black screen after login**: An update left some users, mostly on Safari, with a black screen after login because their browser had cached a broken file. I shipped a fix that cleans the bad cache by itself and reloads once, plus a safety net that catches app errors, so the same failure cannot lock users out again.
- **Servers that start on their own**: A routine security update once took the web server down for about 30 minutes. The same day I changed the setup so the server starts without waiting on anything outside it and restarts by itself after a failure.

## Results

The platform built on that first version has had 22,000 users online at the same time, on the web and on Android, with deposits, trading and withdrawals running around the clock.

A security review in July 2026 tested the live platform directly. Attempts to raise a user's own rights, change balances or read another account were all blocked, and payment notifications without a valid signature were refused.

When attackers went after user accounts in July 2026, I traced the attack, proved the weakness it relied on with a throwaway account, closed it on 19 July, verified the fix on the live system and flagged 78 linked accounts for review. Staff got a fraud monitoring page the same week.

The move to a global edge network went live on 20 July 2026 with no security header lost, and the login fix the same day brought the affected users back without them having to do anything.

On a platform where money moves every minute, security is not a feature list. It is how fast you see an attack and close it.

## Services

[Crypto payments and Web3](https://badsoul.studio/services/payments-web3/) [Security audits and hardening](https://badsoul.studio/services/security/) [Desktop and mobile apps](https://badsoul.studio/services/apps/) [Infrastructure and DevOps](https://badsoul.studio/services/infrastructure/) [Web development](https://badsoul.studio/services/web-development/)

[Next case study Paying customers from Google, ChatGPT, DuckDuckGo and Copilot](https://badsoul.studio/work/store-search-and-ai-channels/)

[Have a project like this? Send a short brief. You get questions or a written scope back within 24 hours. Start a project](https://badsoul.studio/contact/#contact)
