Sol.College

Structure lesson (licence does not allow quoting code)

Clash

Original
theMavionx/Clash
SuperStack fork
Blockchains/Clash @ 30a6fd3
Stars
0
Last push (original)
2026-11-04
Languages
JavaScript, GDScript, CSS, Shell, HTML, Move
Detected stack
@solana/kitMetaplexNative Rustweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College

Architecture

722 source files. By extension: .js ×596, .jsx ×95, .sol ×12, .py ×11, .move ×3, .rs ×2.

Top-level directorySource files
web319
server202
server-futures133
nft22
scripts14
tools13
deploy11
prototypes4

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
server/test-migration-chain.jsKeypair, Transaction, transfer, PublicKey, ComputeBudgetProgram, SystemProgram
server/custodial_marketplace.jstransfer, PublicKey, getAssociatedTokenAddressSync, Connection, Transaction, getAccountInfo
server/test-sanctum.jsKeypair, VersionedTransaction, ComputeBudgetProgram, TransactionMessage, SystemProgram, transfer
nft/solana/marketplace/src/lib.rsAccountInfo, Pubkey, invoke, invoke_signed, seeds, transfer
server/migration_chain.jsPublicKey, Transaction, getAssociatedTokenAddressSync, ComputeBudgetProgram, getBalance, VersionedTransaction
server-futures/gmtrade.jsPublicKey, VersionedTransaction, findProgramAddressSync, Transaction, SystemProgram, getProgramAccounts
web/src/lib/gameShop.jstransfer, Connection, PublicKey, getBalance, SystemProgram, ComputeBudgetProgram
web/src/lib/custodialMarketplace.jstransfer, PublicKey, Connection, getAssociatedTokenAddress, createUmi
server/solana_token2022_nft.jsPublicKey, Connection, Keypair, Transaction, getAssociatedTokenAddressSync, SystemProgram
web/src/hooks/usePacifica.jsPublicKey, sendTransaction, signTransaction, useWallet, useConnection, SystemProgram
web/src/components/NftBridgePanel.jsxPublicKey, Connection, SystemProgram, sendTransaction, getAssociatedTokenAddressSync, transfer
web/src/components/copytrading/connectors/phoenix.jssignTransaction, Keypair, PublicKey, sendTransaction, Connection, SystemProgram

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/clash/. 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 test
webnpm run dev
webnpm run build
webnpm run lint
mcpnpm run dev
mcpnpm run start
servernpm run dev
servernpm run start
hermes-orchestratornpm run start
server-futuresnpm run dev
server-futuresnpm run start
examplenpm run dev
examplenpm run build
examplenpm run lint

What you could build from it