datadictionary.org
Schema v1

Peer Announcement

On-chain announcement of a peer endpoint for discovery and federation.

protocol MAP
prefix 1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5
app qart
type peer_v1

Fields

Name Type Required Description
app string yes Application identifier.
type string yes Schema type tag. Always "peer_v1".
pubkey hex yes Compressed public key of the announcing peer.
endpoint uri yes Base URL of the peer's API.
port integer yes Port number.
timestamp integer yes Unix timestamp.
capabilities string no Comma-separated list of supported capabilities.
signature hex no Signature proving endpoint ownership.

Wire format

OP_FALSE OP_RETURN
  1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5
  SET
  app          qart
  type         peer_v1
  pubkey       <hex>
  endpoint     <uri>
  port         <integer>
  timestamp    <unix_ts>
  [capabilities <csv>]
  [signature   <hex>]

Context

Peer announcements enable on-chain discovery for federated instances. An indexer scanning for peer_v1 records can build a directory of active peers without a central registry.