Sol.College

Structure lesson

AquaAI

AI-Powered Smart Irrigation Platform for Central Asia & Aral Sea Basin | FAO-56 Penman-Monteith • Open-Meteo • Gemini AI • Solana Devnet

What it does

From the project README:

В бассейне Аральского моря в Центральной Азии (Казахстан, Узбекистан, Туркменистан) **более 80% забора пресной воды** расходуется на орошаемое земледелие.
Original
SalaAkh/AquaAI
SuperStack fork
Blockchains/AquaAI @ 1b39964
Stars
0
Last push (original)
2026-10-30
Languages
TypeScript, CSS, HTML, JavaScript, PLpgSQL, Python
Detected stack
Next.jsweb3.js
Categories
AI & AgentsInfrastructure & Tooling
Licence
MIT
Homepage
https://aqua-ai-demo.loca.lt

Architecture

44 source files. By extension: .tsx ×24, .ts ×17, .py ×3.

Top-level directorySource files
aqua-app41
media3

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
aqua-app/src/lib/solana.tsTransaction, Keypair, PublicKey, Connection, signTransaction, getLatestBlockhash
aqua-app/src/lib/wallet.tsxTransaction, Connection, PublicKey, Keypair, getLatestBlockhash, getBalance
aqua-app/src/app/api/solana/record/route.tsConnection, Keypair, Transaction, getBalance, getLatestBlockhash

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/aquaai/. 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 devnpm --prefix aqua-app run dev
.npm run startnpm --prefix aqua-app run start
.npm run buildnpm --prefix aqua-app run build
.npm run testnpm --prefix aqua-app run test
aqua-appnpm run devnext dev --webpack
aqua-appnpm run startnext start
aqua-appnpm run buildnext build --webpack
aqua-appnpm run testnode tests/fao56.test.mjs && node tests/integration.test.mjs

What you could build from it

Used in lessons