Sol.College

Structure lesson (licence does not allow quoting code)

DataForge

Original
ArturShirokov/DataForge
SuperStack fork
Blockchains/DataForge @ 1241a52
Stars
0
Last push (original)
2026-02-19
Languages
TypeScript, Rust, PLpgSQL, CSS, Shell, JavaScript
Detected stack
AnchorNext.jsweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College
Homepage
https://dataforge-live.vercel.app/

Architecture

65 source files. By extension: .tsx ×36, .ts ×28, .rs ×1.

Top-level directorySource files
frontend62
unimake_backend3

On-chain programs: unimake_backend/programs/unimake_backend

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
pause_bountyUpdateBountyunimake_backend/programs/unimake_backend/src/lib.rs:76
resume_bountyUpdateBountyunimake_backend/programs/unimake_backend/src/lib.rs:93
complete_bountyUpdateBountyunimake_backend/programs/unimake_backend/src/lib.rs:110
cancel_bountyCancelBountyunimake_backend/programs/unimake_backend/src/lib.rs:123
approve_submissionReviewSubmissionunimake_backend/programs/unimake_backend/src/lib.rs:218
reject_submissionReviewSubmissionunimake_backend/programs/unimake_backend/src/lib.rs:270
initialize_profileInitializeProfileunimake_backend/programs/unimake_backend/src/lib.rs:305
award_badgeAwardBadgeunimake_backend/programs/unimake_backend/src/lib.rs:327
purchase_datasetPurchaseDatasetunimake_backend/programs/unimake_backend/src/lib.rs:389

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/lib/solana/submission-instructions.tsTransaction, sendTransaction, signTransaction, PublicKey, Connection, SystemProgram
unimake_backend/tests/unimake_backend.tsPublicKey, SystemProgram, findProgramAddressSync, getBalance, Program, Keypair
unimake_backend/programs/unimake_backend/src/lib.rsseeds, Pubkey, Program, transfer, has_one, CpiContext
frontend/lib/solana/bounty-instructions.tsTransaction, Connection, sendTransaction, SystemProgram, PublicKey, AnchorProvider
frontend/lib/solana/program.tsProgram, AnchorProvider, Connection, PublicKey
frontend/lib/solana/utils.tsPublicKey, findProgramAddressSync
frontend/app/bounties/[id]/review/page.tsxTransaction, useConnection, useWallet, Connection
frontend/lib/solana/profile-instructions.tsConnection, SystemProgram, PublicKey
frontend/app/bounties/page.tsxTransaction, useConnection, useWallet, getBalance
frontend/app/bounties/[id]/submit/page.tsxuseConnection, useWallet, Transaction, Connection
frontend/app/profile/page.tsxuseWallet, useConnection
frontend/components/wallet-button.tsxWalletMultiButton, useWallet

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/dataforge/. 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
unimake_backendnpm run lint
frontendnpm run dev
frontendnpm run start
frontendnpm run build
frontendnpm run lint
unimake_backendanchor build
unimake_backendanchor test
unimake_backendanchor run test

What you could build from it