MDK Logo

Backend stack tutorials

Three short tutorials that take you from a running stack to a live dashboard demo

See the whole stack demo at once booting all the Worker families for a live site, mock hardware, a Gateway API, and a React dashboard in one command.

Overview

This page presents three short tutorials that build on each other. Each rung adds one layer of capability: first you watch the stack run, then you drive it, then you run a browser demo on top.

RungYou'llYou'll end withMock hardwareTime
1. Run the stackObserve — run one command and watch a stack come upDevice list, telemetry, and commands printedWhatsminer M56S< 3 min
2. Control devices from the CLIInteract — drive a running stack from a REPLLive telemetry and commands over HRPC via the kernel key fileWhatsminer M56S< 3 min
3. Run the dashboard demoRun — launch a browser dashboard on the stackA React dashboard with live charts at :3030Whatsminer M56S< 15 min after a one-time UI build

New to MDK? Start with 1. Run the stack. Each rung links to the next, so you can climb straight through.

All three rungs use the same Whatsminer example to keep things simple. To see MDK working with different hardware, check out the full site example which runs multiple Worker families (Antminers, Whatsminers, containers, power meters) simultaneously — all using the same MDK API.

Each rung is self-contained and repeats the clone-and-install step, so you can start at whichever one you need.

Next steps

On this page