Sol.College

Structure lesson (licence does not allow quoting code)

Forge-V1

Original
SamuelOluwayomi/Forge-V1
SuperStack fork
Blockchains/Forge-V1 @ 655d3b3
Stars
1
Last push (original)
2026-06-04
Languages
TypeScript, Rust, CSS, JavaScript
Detected stack
@solana/kitAnchorMetaplexNext.js
Categories
Other
Licence
none detected: code not quoted on Sol.College

Architecture

92 source files. By extension: .tsx ×45, .ts ×42, .rs ×3, .js ×2.

Top-level directorySource files
app83
anchor4
(root)2
scripts2
scratch1

On-chain programs: anchor/programs/forge_escrow, anchor/programs/forge_sbt

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
accept_workerAcceptWorkeranchor/programs/forge_escrow/src/lib.rs:69
approve_workApproveWorkanchor/programs/forge_escrow/src/lib.rs:136
claim_completionClaimCompletionanchor/programs/forge_escrow/src/lib.rs:162
raise_disputeRaiseDisputeanchor/programs/forge_escrow/src/lib.rs:191
resolve_disputeResolveDisputeanchor/programs/forge_escrow/src/lib.rs:209
cancel_taskCancelTaskanchor/programs/forge_escrow/src/lib.rs:238
initialize_reputationInitializeReputationanchor/programs/forge_sbt/src/lib.rs:24
mark_world_id_verifiedMarkVerifiedanchor/programs/forge_sbt/src/lib.rs:55
initialize_mint_trackerInitializeMintTrackeranchor/programs/forge_sbt/src/lib.rs:455
mint_founder_nftMintFounderNftanchor/programs/forge_sbt/src/lib.rs:466
mint_pioneer_nftMintPioneerNftanchor/programs/forge_sbt/src/lib.rs:572

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
app/lib/hooks/useEscrow.tsPublicKey, signTransaction, SystemProgram, Transaction, transfer, Program
anchor/programs/forge_sbt/src/lib.rsseeds, Program, CpiContext, Pubkey, init_if_needed, has_one
anchor/programs/forge_escrow/src/lib.rsPubkey, seeds, has_one, transfer, Program, invoke
app/dashboard/profile/page.tsxPublicKey, SystemProgram, signTransaction, useWallet, Program, Transaction
anchor/tests/forge_escrow.test.tsPublicKey, Keypair, Program, createMint, mintTo, AnchorProvider
app/components/AuthGate.tsxPublicKey, SystemProgram, transfer, useWallet, Transaction, signTransaction
app/api/transactions/relay/route.tsKeypair, Connection, Transaction, VersionedTransaction, getBalance, requestAirdrop
app/lib/sponsored-tx.tsTransaction, Connection, PublicKey, getLatestBlockhash
app/components/civic/GatewayWrapper.tsxPublicKey, Transaction, signTransaction, useWallet
app/dashboard/rewards/page.tsxPublicKey, useWallet
app/dashboard/tasks/[id]/page.tsxPublicKey, useWallet
app/dashboard/developers/[address]/page.tsxPublicKey, findProgramAddressSync, 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/forge-v1/. 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
.npm run build
.npm run lint
anchoranchor build
anchoranchor test
anchoranchor run test

What you could build from it