Sol.College

Structure lesson (licence does not allow quoting code)

Atlas-protocol-colosseum-solana

Atlas — Autonomous, zk-Verified Treasury OS for Stablecoin Capital on Solana

Original
Sushant6095/Atlas-protocol-colosseum-solana
SuperStack fork
Blockchains/Atlas-protocol-colosseum-solana @ 8bc0d83
Stars
0
Last push (original)
2026-05-11
Languages
TypeScript, Rust, HTML, JavaScript, Swift, CSS
Detected stack
@solana/kitAnchorNext.jsSolana Actionsweb3.js
Categories
DeFi
Licence
none detected: code not quoted on Sol.College
Homepage
https://atlasfi.in

Architecture

718 source files. By extension: .tsx ×326, .rs ×267, .ts ×121, .jsx ×3, .py ×1.

Top-level directorySource files
web353
crates252
sdk44
packages28
apps26
prover7
programs4
tests4

On-chain programs: programs/atlas-rebalancer, programs/atlas-registry, programs/atlas-vault, programs/atlas-verifier

How it works: instructions and accounts

Each instruction handler and the accounts struct it validates, found by reading the Rust source. Links go to the exact line at the pinned commit.

InstructionAccountsSource
depositDepositprograms/atlas-vault/src/lib.rs:55
withdrawWithdrawprograms/atlas-vault/src/lib.rs:113
init_registryInitRegistryprograms/atlas-registry/src/lib.rs:26
stake_proverStakeProverprograms/atlas-registry/src/lib.rs:52

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
sdk/rust/src/lib.rsPubkey
programs/atlas-vault/src/lib.rsseeds, Pubkey, CpiContext, Program
web/lib/atlas.tsPublicKey, Transaction, ComputeBudgetProgram, transfer, Connection, SystemProgram
programs/atlas-registry/src/lib.rsPubkey, seeds, Program, transfer, has_one, init_if_needed
web/components/DepositCard.tsxuseConnection, useWallet, sendTransaction, transfer, getLatestBlockhash, Transaction
sdk/ts/src/pda.tsseeds
programs/atlas-rebalancer/src/lib.rsPubkey, Program, CpiContext, seeds
web/hooks/useSolBalance.tsuseConnection, useWallet, getBalance
web/components/ConnectButton.tsxuseWallet
web/components/WalletPickerModal.tsxuseWallet
web/components/system/WalletStatusPill.tsxuseWallet
web/app/vaults/[symbol]/page.tsxuseWallet

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/atlas-protocol-colosseum-solana/. 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
.npm run dev
.npm run build
.npm run lint
sdk/extensionnpm run dev
sdk/extensionnpm run build
sdk/viznpm run build
sdk/tsnpm run build
sdk/widgetsnpm run build
sdk/qvacnpm run build
webnpm run dev
webnpm run start
webnpm run build
webnpm run lint
apps/webnpm run dev
apps/webnpm run start
apps/webnpm run build

What you could build from it