Sol.College

Structure lesson (licence does not allow quoting code)

GitEarn

Git Earn is a powerful open-source bounty platform built to incentivize contributions to open-source projects. Maintainers can post bounties on GitHub issues, and contributors can earn rewards for completing them. It’s designed with a modern UI, deep GitHub integration, and a scalable architecture.

Original
Fahad-Dezloper/GitEarn
SuperStack fork
Blockchains/GitEarn @ 1dd74b0
Stars
1
Last push (original)
2025-06-23
Languages
TypeScript, CSS, JavaScript, PLpgSQL, Handlebars
Detected stack
Next.jsweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College
Homepage
https://www.gitearn.vercel.app/

Architecture

175 source files. By extension: .tsx ×130, .ts ×42, .js ×3.

Top-level directorySource files
apps167
packages8

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
apps/web/app/context/BountyContextProvider.tsxTransaction, SystemProgram, transfer, Keypair, sendAndConfirmTransaction, PublicKey
apps/web/lib/withDrawMoney.tsPublicKey, Connection, SystemProgram, Transaction, transfer, getLatestBlockhash
apps/web/app/(dashboardComponents)/UserAvatarCircle.tsxgetBalance, useWallet, WalletMultiButton, useConnection
apps/web/app/(dashboardComponents)/(transaction)/BountiesCreated.tsxTransaction, useWallet
apps/web/app/components/BountyPopup.tsxuseConnection, useWallet, sendTransaction, Transaction
apps/web/app/api/user/claim/approve/route.tsConnection, Transaction
apps/web/app/api/bounty/confirm/route.tsConnection, Transaction
apps/web/app/(dashboardComponents)/AddWallet.tsxuseWallet
apps/web/app/(dashboardComponents)/Topbar.tsxWalletMultiButton

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/gitearn/. 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 build
.npm run lint
apps/webnpm run dev
apps/webnpm run start
apps/webnpm run build
apps/webnpm run lint
apps/gitearn-botnpm run dev
apps/gitearn-botnpm run start
apps/gitearn-botnpm run build
packages/uinpm run lint
packages/dbnpm run build

What you could build from it