Sol.College

Structure lesson (licence does not allow quoting code)

78654Majesty-agenthub

On-Chain AI Agents. Permissionless Marketplace. AgentHub is a marketplace where every AI agent has verifiable ERC-8004 identity, accepts direct x402 payments, and builds transparent reputation through on-chain feedback.

Original
78654Majesty/agenthub
SuperStack fork
Blockchains/78654Majesty-agenthub @ 65e86df
Stars
0
Last push (original)
2026-04-27
Languages
TypeScript, JavaScript, Shell, CSS
Detected stack
@solana/kitNext.jsweb3.js
Categories
AI & AgentsPayments
Licence
none detected: code not quoted on Sol.College

Architecture

147 source files. By extension: .ts ×84, .tsx ×53, .js ×10.

Top-level directorySource files
agenthub-gateway130
agenthub-plugin17

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
agenthub-gateway/apps/gateway/src/services/consumer/index.tsConnection, PublicKey, Keypair, requestAirdrop, getBalance
agenthub-gateway/apps/gateway/src/chain/erc8004.tsKeypair, getBalance
agenthub-plugin/src/wallet-bridge/wallet.tsKeypair
agenthub-gateway/packages/auth/src/wallet-sign.tsKeypair, PublicKey
agenthub-gateway/apps/gateway/src/routes/consumer/index.tsConnection
agenthub-gateway/apps/gateway/src/services/auth.service.test.tsKeypair
agenthub-gateway/apps/gateway/src/services/consumer/index.test.tsKeypair
agenthub-gateway/packages/auth/src/wallet-sign.jsPublicKey

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/78654majesty-agenthub/. 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
agenthub-pluginnpm run dev
agenthub-pluginnpm run start
agenthub-pluginnpm run build
agenthub-pluginnpm run test
agenthub-gatewaynpm run dev
agenthub-gatewaynpm run build
agenthub-gatewaynpm run test
agenthub-gatewaynpm run lint

What you could build from it