Sol.College

Structure lesson

WaterCredit

Project for decrease waste water in the world using blockchain. Winner of MasterZxSolana Bootcamp in collaboration with Solana Foundation.

What it does

From the project README:

💧 Water Credit 💧 🏆Winner of MasterZxSolana Bootcamp in collaboration with Solana Foundation🏆 🏠 Hosted on: https://watercredit-front-end.onrender.com/ NOTE: Since the site is hosted on Render with free pricing, consequently the various layers of the project (front-end, back-end, ai) will be cut if not used within a certain time limit.
Original
Kerry1207/WaterCredit
SuperStack fork
Blockchains/WaterCredit @ f1ccef8
Stars
5
Last push (original)
2026-08-03
Languages
Vue, JavaScript, Python, HTML, CSS
Detected stack
Metaplexsolana-pyweb3.js
Categories
Other
Licence
MIT
Homepage
https://watercredit-front-end.onrender.com/

Architecture

17 source files. By extension: .js ×11, .py ×6.

Top-level directorySource files
water-credit-back-end7
water-credit-ai6
water-credit-front-end4

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
water-credit-back-end/token/tokenUtility.jsPublicKey, createMint, mintTo, Transaction
water-credit-back-end/token/solanaUtility.jsConnection, Keypair, requestAirdrop
water-credit-back-end/token/main.jsConnection, PublicKey

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/watercredit/. 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
water-credit-front-endnpm run devvite
water-credit-front-endnpm run buildvite build

What you could build from it

Used in lessons