Sol.College

Structure lesson (licence does not allow quoting code)

EffortX---GitHub-contribution-verification-on-Solana

Original
viv2005ek/EffortX---GitHub-contribution-verification-on-Solana
SuperStack fork
Blockchains/EffortX---GitHub-contribution-verification-on-Solana @ 3615b66
Stars
2
Last push (original)
2026-09-22
Languages
JavaScript, Rust, CSS, HTML
Detected stack
web3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College
Homepage
https://effort-x-seven.vercel.app

Architecture

45 source files. By extension: .js ×24, .jsx ×20, .rs ×1.

Top-level directorySource files
Frontend28
commit-analyzer-offchain14
(root)2
Solana - onChain1

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
transfer_ecoinsTransferEcoinsSolana - onChain/lib.rs:216
buy_ecoinsBuyEcoinsSolana - onChain/lib.rs:267
get_profileGetProfileSolana - onChain/lib.rs:311
get_proofGetProofSolana - onChain/lib.rs:333

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
Solana - onChain/lib.rsseeds, Pubkey, Program, transfer, CpiContext
Frontend/src/solana/program.jsPublicKey, SystemProgram, Program, transfer, Transaction, Pubkey
Frontend/src/solana/pda.jsPublicKey, seeds, findProgramAddressSync
Frontend/src/solana/provider.jsAnchorProvider, Program, Connection, signTransaction
Frontend/src/context/SolanaContext.jsxuseWallet

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/effortx---github-contribution-verification-on-solana/. 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
commit-analyzer-offchainnpm run dev
commit-analyzer-offchainnpm run start
commit-analyzer-offchainnpm run test
Frontendnpm run dev
Frontendnpm run build
Frontendnpm run lint

What you could build from it