Structure lesson
GetToasted
Scan any Solana wallet for sandwich attacks and quantify the USD lost to MEV.
What it does
From the project README:
Get Toasted is a SaaS that ingests a wallet's transaction history (via Helius), runs a typed sandwich-detection pipeline over each slot, prices the impact in USD using Jupiter quotes, and exposes the results via an API + dashboard. Real-time scans are driven by Helius webhooks; historical scans are paginated through BullMQ workers.
- Original
- 0xuser64bit/GetToasted
- SuperStack fork
- Blockchains/GetToasted @
da594ac - Stars
- 0
- Last push (original)
- 2026-11-03
- Languages
- TypeScript, CSS, PLpgSQL, JavaScript, Dockerfile, Shell
- Detected stack
- Next.jsweb3.js
- Categories
- Wallets & Identity
- Licence
- MIT
- Homepage
- https://gettoasted.fun
Architecture
150 source files. By extension: .ts ×103, .tsx ×40, .js ×7.
| Top-level directory | Source files |
|---|---|
packages | 73 |
apps | 62 |
tools | 10 |
scripts | 5 |
Where the Solana code lives
Source files that import a Solana SDK, ranked by how many Solana APIs they use, with the APIs each one calls. Read them in this order to see how the app talks to the chain.
| File | Solana APIs used |
|---|---|
apps/web/app/dashboard/_components/dashboard-topbar.tsx | useWallet |
apps/web/app/simulator/_components/simulator-client.tsx | useWallet |
apps/web/app/_components/terminal-scan-input.tsx | useWallet |
apps/web/app/_components/connect-wallet-button.tsx | useWallet |
Dapp: devnet deploy pending
⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/gettoasted/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.
How to run, build and test
These commands come from the repo's own manifests (package.json scripts, Anchor.toml, Cargo, go.mod, Makefile). Check the README for prerequisites and environment variables.
| Directory | Command | Runs |
|---|---|---|
. | npm run dev | turbo dev |
. | npm run build | turbo build |
. | npm run test | turbo test |
. | npm run lint | turbo lint |
apps/web | npm run dev | next dev --port 3000 |
apps/web | npm run start | next start |
apps/web | npm run build | next build |
apps/web | npm run lint | eslint --max-warnings 0 |
apps/docs | npm run dev | next dev --port 3002 |
apps/docs | npm run start | next start |
apps/docs | npm run build | next build |
apps/docs | npm run lint | eslint --max-warnings 0 |
apps/api | npm run dev | tsx watch src/index.ts |
apps/api | npm run start | node dist/index.js |
apps/api | npm run build | tsup src/index.ts --format esm --target node20 --clean |
apps/api | npm run lint | eslint src |
What you could build from it
- Fork the SuperStack copy and extend it within the Wallets & Identity gaps listed on the idea page.
- Learn the pattern first: Building and sending transactions from a client
- Learn the pattern first: Program Derived Addresses (PDAs)