Sol.College

Structure lesson (licence does not allow quoting code)

AtherNull

Verified, escrow-funded AI software builds: chat, plan, pay on Solana, build, verify, accept.

Original
bigyangg/AtherNull
SuperStack fork
Blockchains/AtherNull @ 2ba5fb0
Stars
0
Last push (original)
2026-10-26
Languages
TypeScript, Python, JavaScript, Rust, CSS, PLpgSQL
Detected stack
AnchorNext.jsweb3.js
Categories
AI & AgentsPayments
Licence
NOASSERTION: code not quoted on Sol.College
Homepage
https://Athernull.io

Architecture

321 source files. By extension: .ts ×185, .tsx ×104, .py ×17, .rs ×11, .js ×4.

Top-level directorySource files
apps238
packages30
prototypes17
contracts16
workers12
services5
examples3

On-chain programs: contracts/solana/programs/athernull_escrow

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
fund_escrowFundEscrowcontracts/solana/programs/athernull_escrow/src/lib.rs:28
release_escrowReleaseEscrowcontracts/solana/programs/athernull_escrow/src/lib.rs:32
refund_escrowRefundEscrowcontracts/solana/programs/athernull_escrow/src/lib.rs:36
timeout_refundTimeoutRefundcontracts/solana/programs/athernull_escrow/src/lib.rs:40
deposit_project_fundingDepositProjectFundingcontracts/solana/programs/athernull_escrow/src/lib.rs:59
settle_project_fundingSettleProjectFundingcontracts/solana/programs/athernull_escrow/src/lib.rs:64
refund_project_fundingRefundProjectFundingcontracts/solana/programs/athernull_escrow/src/lib.rs:68
fund_handlerFundEscrowcontracts/solana/programs/athernull_escrow/src/instructions/fund.rs:30
release_handlerReleaseEscrowcontracts/solana/programs/athernull_escrow/src/instructions/release.rs:40
timeout_refund_handlerTimeoutRefundcontracts/solana/programs/athernull_escrow/src/instructions/timeout_refund.rs:40
refund_handlerRefundEscrowcontracts/solana/programs/athernull_escrow/src/instructions/refund.rs:30
settle_project_funding_handlerSettleProjectFundingcontracts/solana/programs/athernull_escrow/src/instructions/project_funding.rs:131
refund_project_funding_handlerRefundProjectFundingcontracts/solana/programs/athernull_escrow/src/instructions/project_funding.rs:161

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
contracts/solana/tests/project_funding.tsKeypair, SystemProgram, PublicKey, Program, getAccountInfo, getBalance
contracts/solana/tests/athernull_escrow.tsKeypair, PublicKey, SystemProgram, getLatestBlockhash, getAccountInfo, Program
apps/api/test/support/fake-chain.tsPublicKey, Keypair, Transaction, SystemProgram, getAccountInfo, getLatestBlockhash
packages/solana-client/src/legacy-escrow.tsPublicKey, Program, SystemProgram, AnchorProvider
apps/api/test/project-funding-local-validator.test.tsKeypair, PublicKey, Transaction, Connection, transfer, getBalance
contracts/solana/tests/project_funding_settlement.tsKeypair, PublicKey, SystemProgram, Program, Transaction, AnchorProvider
apps/api/test/project-funding.test.tsKeypair, PublicKey, Transaction, findProgramAddressSync, transfer
contracts/solana/tests/devnet-smoke.tsPublicKey, Keypair, SystemProgram, transfer, Program, getAccountInfo
packages/solana-client/src/funding/instructions.tsPublicKey, SystemProgram
apps/api/test/deposit-parse.test.tsKeypair, SystemProgram, PublicKey, transfer
apps/api/src/solana/funding-service.tsPublicKey, Transaction, getLatestBlockhash, getAccountInfo, transfer
contracts/solana/programs/athernull_escrow/src/instructions/project_funding.rshas_one, seeds, Program, Pubkey, transfer, CpiContext

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/athernull/. 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 test
.npm run lint
packages/model-routernpm run test
packages/contractsnpm run test
packages/solana-clientnpm run test
apps/webnpm run dev
apps/webnpm run start
apps/webnpm run build
apps/webnpm run lint
apps/apinpm run dev
apps/apinpm run start
apps/apinpm run build
apps/apinpm run test
contracts/solananpm run lint

What you could build from it