Sol.College

Structure lesson (licence does not allow quoting code)

Africa_Research_Base

Education, Data and Funding here on Solana

Original
Neocryptoquant/Africa_Research_Base
SuperStack fork
Blockchains/Africa_Research_Base @ 8d51eb2
Stars
1
Last push (original)
2025-10-27
Languages
TypeScript, Rust, CSS, JavaScript
Detected stack
AnchorNext.jsSolana Payweb3.js
Categories
Other
Licence
none detected: code not quoted on Sol.College
Homepage
https://africaresearchbase.com

Architecture

600 source files. By extension: .tsx ×326, .ts ×258, .rs ×14, .js ×2.

Top-level directorySource files
.history510
app72
programs14
tests3
migrations1

On-chain programs: programs/africa_research_base

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
tests/test_initialize.tsPublicKey, findProgramAddressSync, SystemProgram, Keypair, Program, AnchorProvider
.history/app/app/api/analyze/route_20251017192915.tsTransaction, PublicKey, VersionedTransaction, SystemProgram, Keypair, findProgramAddressSync
.history/app/app/api/analyze/route_20251022163037.tsTransaction, PublicKey, VersionedTransaction, SystemProgram, Keypair, findProgramAddressSync
app/app/lib/arbToken.tsPublicKey, getAssociatedTokenAddress, transfer, Connection, Keypair, Transaction
.history/app/app/lib/arbToken_20251020161524.tsPublicKey, getAssociatedTokenAddress, transfer, Connection, Keypair, Transaction
.history/app/app/lib/arbToken_20251020171036.tsPublicKey, getAssociatedTokenAddress, transfer, Connection, Keypair, Transaction
.history/app/app/hooks/useSolanaProgram_20251020123055.tsPublicKey, Program, SystemProgram, signTransaction, findProgramAddressSync, useWallet
.history/app/app/hooks/useSolanaProgram_20251020123048.tsPublicKey, Program, SystemProgram, signTransaction, findProgramAddressSync, useWallet
.history/app/app/hooks/useSolanaProgram_20251020122724.tsPublicKey, SystemProgram, signTransaction, findProgramAddressSync, useWallet, useConnection
.history/app/app/hooks/useSolanaProgram_20251020122719.tsPublicKey, SystemProgram, signTransaction, findProgramAddressSync, useWallet, useConnection
.history/app/app/hooks/useSolanaProgram_20251020122658.tsPublicKey, SystemProgram, signTransaction, findProgramAddressSync, useWallet, useConnection
.history/app/app/hooks/useSolanaProgram_20251020093908.tsPublicKey, SystemProgram, signTransaction, findProgramAddressSync, useWallet, useConnection

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/africa-research-base/. 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 test
.npm run lint
appnpm run dev
appnpm run start
appnpm run build
appnpm run lint
.anchor build
.anchor test
.anchor run test
.cargo build
.cargo test

What you could build from it