Sol.College

Structure lesson (licence does not allow quoting code)

crct

Original
crct-xyz/crct
SuperStack fork
Blockchains/crct @ 9807d5f
Stars
0
Last push (original)
2024-10-08
Languages
TypeScript, Python, JavaScript, CSS, Dockerfile
Detected stack
MetaplexNext.jsSolana Actionsweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College

Architecture

55 source files. By extension: .py ×19, .tsx ×18, .ts ×9, .js ×5, .jsx ×4.

Top-level directorySource files
frontend33
backend22

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
frontend/webapp/app/api/actions/squad/[vaultId]/route.tsPublicKey, Transaction, SystemProgram, transfer, Connection, TransactionMessage
frontend/webapp/app/api/actions/squad/route.tsPublicKey, Connection, SystemProgram, Transaction, TransactionMessage, getLatestBlockhash
frontend/webapp/app/api/actions/squad/vote/route.tsPublicKey, Connection, Transaction, SystemProgram, transfer, getLatestBlockhash
frontend/webapp/app/api/actions/squad/config/route.tsPublicKey, Connection, SystemProgram, Transaction, transfer, getLatestBlockhash
backend/services/matching-and-monitoring/sqds/index.jstransfer, PublicKey, Connection
frontend/webapp/app/api/actions/squad/review/route.tsPublicKey, Connection, Transaction, SystemProgram
frontend/webapp/app/api/actions/tensorNfts/route.tsConnection, PublicKey, Transaction, SystemProgram
backend/services/action-builder-service/index.jsConnection, PublicKey, Transaction
frontend/webapp/providers/cluster/cluster-ui.tsxuseConnection, Connection
frontend/webapp/app/page.tsxuseWallet
frontend/webapp/app/order-page/page.tsxuseWallet
frontend/webapp/components/registration/registration.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/crct/. 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
frontend/webappnpm run dev
frontend/webappnpm run build

What you could build from it