Sol.College

Structure lesson

Aladdin-Intelligence-Terminal

What it does

From the project README:

Aladdin Intelligence is an **on-chain intelligence terminal for Solana**. It resolves tokens, wallets and transactions into decision-ready evidence: what is actually moving, who is behind it, and what changed underneath the price.
Original
aladdinintelligence-ai/Aladdin-Intelligence-Terminal
SuperStack fork
Blockchains/Aladdin-Intelligence-Terminal @ b45b3de
Stars
0
Last push (original)
2026-10-11
Languages
JavaScript, TypeScript, CSS, PowerShell
Detected stack
Next.jsweb3.js
Categories
Other
Licence
MIT

Architecture

287 source files. By extension: .js ×119, .tsx ×99, .ts ×69.

Top-level directorySource files
frontend168
backend119

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.

FileSolana APIs used
backend/services/jupiterService.jsConnection, Keypair, VersionedTransaction, PublicKey, Transaction, getBalance
frontend/app/providers/SolanaProvider.tsxuseConnection, useWallet, getBalance, Connection
backend/controllers/swap/swapController.jsPublicKey, Transaction
backend/services/authService.jsKeypair

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/aladdin-intelligence-terminal/. 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.

DirectoryCommandRuns
backendnpm run devnodemon server.js
backendnpm run startnode server.js
backendnpm run testnode --test tests/
frontendnpm run devnext dev
frontendnpm run startnext start
frontendnpm run buildnext build
frontendnpm run testnode --test tests/ask-aladdin.test.mjs tests/workspace.test.mjs tests/workspace-remote.test.mjs tests/theme.test.mjs tes
frontendnpm run linteslint

What you could build from it

Used in lessons