Sol.College

Structure lesson (licence does not allow quoting code)

DecentralWatch

Decentralized uptime monitoring powered by Solana, with global validators submitting signed uptime proofs and earning rewards.

Original
Pratikkale26/DecentralWatch
SuperStack fork
Blockchains/DecentralWatch @ 464de30
Stars
3
Last push (original)
2026-03-13
Languages
TypeScript, CSS, JavaScript, HTML, Handlebars
Detected stack
@solana/kitNext.jsweb3.js
Categories
DePINInfrastructure & Tooling
Licence
none detected: code not quoted on Sol.College
Homepage
https://decentralwatch.xyz

Architecture

133 source files. By extension: .tsx ×87, .ts ×41, .js ×5.

Top-level directorySource files
apps123
packages10

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
apps/desktop_validator_app/src/electron/controller/wallet/wallet.tsKeypair, Connection, PublicKey, sendAndConfirmTransaction, SystemProgram, Transaction
apps/frontend/app/dashboard/components/AddWebsiteModal.tsxTransaction, useWallet, useConnection, PublicKey, SystemProgram, sendTransaction
apps/api/cron/payout.tsxConnection, Keypair, PublicKey, SystemProgram, Transaction, sendAndConfirmTransaction
apps/validator/index.tsKeypair, Connection
apps/frontend/components/layout/header.tsxWalletMultiButton, useWallet
apps/frontend/app/dashboard/components/SolanaStatus.tsxConnection, getLatestBlockhash
apps/desktop_validator_app/src/electron/controller/validator.tsKeypair
apps/explorer/src/components/Header.tsxWalletMultiButton
apps/explorer/src/components/Explorer.tsxuseWallet
apps/api/utils/solana.tsConnection
apps/api/controllers/userController.tsPublicKey
apps/hub/index.tsPublicKey

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/decentralwatch/. 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 lint
packages/uinpm run lint
packages/dbnpm run build
apps/explorernpm run dev
apps/explorernpm run build
apps/explorernpm run lint
apps/apinpm run dev
apps/apinpm run start
apps/apinpm run build
apps/validatornpm run dev
apps/validatornpm run start
apps/validatornpm run build
apps/hubnpm run dev
apps/hubnpm run start

What you could build from it