Sol.College

Structure lesson (licence does not allow quoting code)

Cheaply

Original
jimmy93029/Cheaply
SuperStack fork
Blockchains/Cheaply @ afdaaa2
Stars
0
Last push (original)
2026-05-15
Languages
TypeScript, JavaScript, CSS, Dockerfile
Detected stack
Next.jsweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College

Architecture

88 source files. By extension: .ts ×54, .tsx ×34.

Top-level directorySource files
frontend66
backend-linkvault22

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-linkvault/src/helper/contractCaller.tsPublicKey, getAssociatedTokenAddressSync, findProgramAddressSync, SystemProgram, Connection, Keypair
backend-linkvault/src/routes/contract.tsPublicKey, Transaction, getLatestBlockhash, Keypair, getAssociatedTokenAddressSync, getAccountInfo
backend-linkvault/src/routes/finance.tsPublicKey, Transaction, getAssociatedTokenAddress, getAccountInfo, Connection, SystemProgram
frontend/utils/rewardBuilder.tsPublicKey, Transaction, sendTransaction, Connection, useWallet, findProgramAddressSync
backend-linkvault/script/check-pool.tsPublicKey, Program, getAssociatedTokenAddressSync, Connection, getAccountInfo, seeds
frontend/app/market/[marketid]/page.tsxTransaction, sendTransaction, useWallet, useConnection, PublicKey, getLatestBlockhash
frontend/app/market-demo/page.tsxTransaction, sendTransaction, useWallet, PublicKey, Connection, getLatestBlockhash
frontend/utils/useTrade.tsTransaction, VersionedTransaction, useWallet, useConnection, sendTransaction, getBalance
backend-linkvault/src/db/issue-devnet.tsKeypair, Connection, PublicKey, Transaction, sendAndConfirmTransaction
frontend/components/token/Market.tsxTransaction, sendTransaction, useWallet, useConnection, PublicKey
frontend/hooks/useSolana.tsgetAssociatedTokenAddress, PublicKey, useWallet, useConnection, getBalance
frontend/utils/unlock.tsTransaction, sendTransaction, useWallet, useConnection, getBalance, getLatestBlockhash

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/cheaply/. 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 start
frontendnpm run dev
frontendnpm run start
frontendnpm run build
frontendnpm run lint
backend-linkvaultnpm run dev
backend-linkvaultnpm run start

What you could build from it