burn_p2p 🔥🤝
burn_p2p is the public entrypoint for peer-to-peer Burn training.
start with P2pProjectFamily, P2pWorkload, and NodeBuilder.
install
[]
= "=0.21.0-pre.4"
for the Burn-backed runtime path and examples:
[]
= { = "=0.21.0-pre.4", = ["burn"] }
usage
the model is family/workload first:
use ;
let family = new?;
let node = new
.with_mainnet
.with_storage
.spawn?;
full example:
crates/burn_p2p/examples/family_workload_minimal.rs.
examples
# minimal family/workload integration
# synthetic runtime walkthrough
# burn-backed facade example
other crates
there are also companion crates for:
- bootstrap and operator surfaces
- browser workers and edge clients
- artifact publication and download
- metrics indexing and portal rendering
- auth and social integrations
start from burn_p2p. reach for the others only when you are building
deployment, browser, or operator flows.
docs
docs/ARCHITECTURE.mddocs/downstream-burn-guide.mddocs/operator-runbook.mddocs/testing/local-dev.mddocs/testing/browser-local.mddocs/testing/ci-profiles.mddocs/testing/adversarial.md
local verification
the local-first test surface is cargo xtask:
cargo xtask e2e smoke is the default local system check. It now covers the
native smoke cluster together with a minimal metrics and publication/download
slice. Use cargo xtask e2e services when you want the focused services-only
rerun path.
to rerun the exact CI lanes locally: