Federation (lab only)
Federation handshake for demo nodes.
The lab handshake introduces two nodes and registers them in the demo registry. This is not a production federation protocol.
Endpoints (lab)
Handshake
`/api/federation/handshake`
Registry
`/api/federation/nodes`
Sample handshake
{
"@context": "https://local-loop-io.github.io/projects/loop-protocol/contexts/loop-v0.1.1.jsonld",
"@type": "NodeHandshake",
"schema_version": "0.1.1",
"node_id": "munich.loop",
"name": "DEMO Munich Node",
"endpoint": "https://demo-munich.loop/api",
"capabilities": ["material-registry", "lab-relay"],
"timestamp": "2025-12-20T10:00:00Z"
}