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 directory | Source files |
|---|---|
aqua-app | 41 |
media | 3 |
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.
| File | Solana APIs used |
|---|---|
aqua-app/src/lib/solana.ts | Transaction, Keypair, PublicKey, Connection, signTransaction, getLatestBlockhash |
aqua-app/src/lib/wallet.tsx | Transaction, Connection, PublicKey, Keypair, getLatestBlockhash, getBalance |
aqua-app/src/app/api/solana/record/route.ts | Connection, 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.
| Directory | Command | Runs |
|---|---|---|
. | npm run dev | npm --prefix aqua-app run dev |
. | npm run start | npm --prefix aqua-app run start |
. | npm run build | npm --prefix aqua-app run build |
. | npm run test | npm --prefix aqua-app run test |
aqua-app | npm run dev | next dev --webpack |
aqua-app | npm run start | next start |
aqua-app | npm run build | next build --webpack |
aqua-app | npm run test | node tests/fao56.test.mjs && node tests/integration.test.mjs |
What you could build from it
- Fork the SuperStack copy and extend it within the AI & Agents gaps listed on the idea page.
- Learn the pattern first: Building and sending transactions from a client