Onboarding
make setup is only setup. It installs support dependencies and the local fiber CLI before any network state is created.
Category 2 infrastructure demo
A Rust CLI for local Fiber Network orchestration, repeatable payment scenarios, structured failure diagnosis, route prediction, report artifacts, and CI smoke tests.
These diagrams explain how DevKit moves from setup to local Fiber nodes, then from scenarios to diagnostics, reports, route prediction, and CCH-aware comparison.
make setup is only setup. It installs support dependencies and the local fiber CLI before any network state is created.
Every run persists its latest result. --report adds grouped causes and remediation in Markdown plus structured JSON and trace artifacts.
Native Fiber gets a confidence score. CCH gets an availability/mechanism statement unless real Lightning-backed order data exists.
Short terminal recordings show the core DevKit workflow without requiring judges to install Docker, Rust, or FNN locally.
Open ./casts/demo-network.cast to view the terminal recording.
Open ./casts/demo-basic-payment.cast to view the terminal recording.
Open ./casts/demo-low-liquidity.cast to view the terminal recording.
Open ./casts/demo-predict.cast to view the terminal recording.
Open ./casts/demo-doctor.cast to view the terminal recording.
Open ./casts/demo-report-ci.cast to view the terminal recording.
Recorded replay — run fiber console locally against your own network for live data.
Loading recorded console replay.
The fastest path is the unfunded smoke test. Funded payment scenarios require testnet CKB on generated node keys.
git clone https://github.com/anihdev/Fiber_Devkit.git cd Fiber_Devkit make help make setup fiber --help fiber init --nodes 3 --template hub-spoke fiber up fiber inspect fiber run scenarios/network-smoke.yaml --report fiber down
make help lists repository shortcuts. make setup installs TypeScript support dependencies with pnpm and installs the repo's Rust fiber binary locally. After crates.io publication, the install path can become cargo install fiber-devkit.
The shipped MVP includes five reference scenarios plus one clean unfunded smoke scenario. Roadmap-only scenarios are documented separately.
| Scenario | Funded Keys | What It Demonstrates |
|---|---|---|
network-smoke.yaml |
No | Clean generated network RPC reachability and graph sanity checks. |
basic-payment.yaml |
Yes | Funded single-hop channel setup and successful keysend payment. |
multi-hop-routing.yaml |
Yes | Hub-spoke multi-hop payment behavior across generated nodes. |
low-liquidity.yaml |
Yes | Insufficient-liquidity failure surfaced as structured diagnosis output. |
peer-offline.yaml |
No | Unreachable endpoint handling and step-level failure reporting. |
channel-exhaustion.yaml |
Yes | Low route-confidence prediction before an over-capacity payment attempt. |
DevKit goes deep on local testing, diagnostics, route confidence, and node visibility while documenting deferred infrastructure clearly.
Local test networks, YAML scenarios, reports, CI scaffold, failure taxonomy, and fiber doctor.
fiber inspect, route prediction, graph-topology warnings, CCH comparison output, and self-hosted demo recordings.
Live CCH order execution, alerting, full peer detail, payment-hash lookup, graph SVG, watchtower scenarios, and fee-policy simulation.
One connected workflow carries Fiber development from repeatable local conditions to actionable results and automated integration checks.
fiber init · up
Start a controlled multi-node FNN environment.
fiber run
Exercise successful payments and expected failures.
fiber doctor
Translate real failures into causes and remediation.
fiber predict
Assess route viability, warnings, and CCH availability.
--report
Persist Markdown, structured logs, and trace artifacts.
fiber ci init
Carry the same repeatable checks into automation.