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 directory | Source files |
|---|---|
water-credit-back-end | 7 |
water-credit-ai | 6 |
water-credit-front-end | 4 |
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 |
|---|---|
water-credit-back-end/token/tokenUtility.js | PublicKey, createMint, mintTo, Transaction |
water-credit-back-end/token/solanaUtility.js | Connection, Keypair, requestAirdrop |
water-credit-back-end/token/main.js | Connection, 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.
| Directory | Command | Runs |
|---|---|---|
water-credit-front-end | npm run dev | vite |
water-credit-front-end | npm run build | vite build |
What you could build from it
- Fork the SuperStack copy and extend it within the Other gaps listed on the idea page.