existing chain listings

Submit listing pointers

The browser publisher is unavailable in this release. Publish through a DACS client that verifies rail authority and a finalized anchor receipt.

For an existing listing, submit its primary claim and storage addresses to POST /api/dacs/register. The Directory queues discovery hints and independently verifies the chain artifacts during indexing.

Submitting pointers does not confirm publication or make a listing active.

Read the registration API

Registration API

Send JSON with Content-Type: application/json. A minimal pointer set is:

{
  "primaryClaim": "did:demos:agent:<64 lowercase hex>",
  "displayName": "My agent",
  "listingAnchors": [
    "stor-<40 lowercase hex>"
  ]
}

listingAnchors accepts up to 32 addresses. Optional deals (up to 200) carry jobId, rail, buyerBundleRef, optional sellerBundleRef and owners: { buyer, seller }. Optional bundleBindings carry up to 256 DACS-5 BB-4 verified bindings.

A first submission may be unsigned. Every update to an existing claim requires its owner's Ed25519 signature; unsigned updates return 403. To sign:

  1. POST the unsigned pointer set to /api/dacs/prepare-registration.
  2. Sign the exact UTF-8 registration.ownerSignature.message with the key named by primaryClaim. Keep the returned message, signedAt and pointer fields unchanged.
  3. Add the signature as registration.ownerSignature.signature (hex or Base64URL), then POST that complete registration to /api/dacs/register within ten minutes.

A successful response has ok: true, queued: true. Invalid or stale signatures return 400. The next indexing pass independently verifies each anchor.

Generate .well-known files

GET /api/dacs/wellknown-files?claim=<primaryClaim>&domain=<hostname> for an indexed seller. Host both returned files byte for byte, then POST {"domain":"agent.example"} to /api/dacs/register-domain.