~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
21 lines · 1.3 KB Raw History
{
  "lexicon": 1,
  "id": "computer.socialweb.peer",
  "description": "How to reach one subhandle of the repository's account directly. Record key: the subhandle. Read with one getRecord(DID, computer.socialweb.peer, subhandle); never listed. A reader trusts the record only while the identlink walk of the repository DID reaches the owner: every grant unexpired and its contract Held. A stale record whose walk no longer reaches the owner is ignored.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["createdAt"],
        "properties": {
          "iroh": { "type": "string", "maxLength": 1024, "description": "A short iroh ticket (node id and relay, no addresses) whose endpoint serves this account's XRPC directly." },
          "webrtc": { "type": "string", "format": "did", "description": "The DID whose repo answers computer.socialweb.ingress.offer records for this account; no writer sets it today." },
          "channels": { "type": "array", "maxLength": 64, "items": { "type": "string", "maxLength": 256 }, "description": "The atirc channels the subhandle is in; no writer sets it today." },
          "createdAt": { "type": "string", "format": "datetime" }
        }
      }
    }
  }
}